Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Tree
Hérite de : Control < CanvasItem < Node < Object
Un contrôle utilisé pour afficher un ensemble de TreeItems internes en une structure hiérarchique.
Description
A control used to show a set of internal TreeItems in a hierarchical structure. The tree items can be selected, expanded and collapsed. The tree can have multiple columns with custom controls like LineEdits, buttons and popups. It can be useful for structured displays and interactions.
Trees are built via code, using TreeItem objects to create the structure. They have a single root, but multiple roots can be simulated with hide_root:
func _ready():
var tree = Tree.new()
var root = tree.create_item()
tree.hide_root = true
var child1 = tree.create_item(root)
var child2 = tree.create_item(root)
var subchild1 = tree.create_item(child1)
subchild1.set_text(0, "Subchild1")
public override void _Ready()
{
var tree = new Tree();
TreeItem root = tree.CreateItem();
tree.HideRoot = true;
TreeItem child1 = tree.CreateItem(root);
TreeItem child2 = tree.CreateItem(root);
TreeItem subchild1 = tree.CreateItem(child1);
subchild1.SetText(0, "Subchild1");
}
To iterate over all the TreeItem objects in a Tree object, use TreeItem.get_next() and TreeItem.get_first_child() after getting the root through get_root(). You can use Object.free() on a TreeItem to remove it from the Tree.
Incremental search: Like ItemList and PopupMenu, Tree supports searching within the list while the control is focused. Press a key that matches the first letter of an item's name to select the first item starting with the given letter. After that point, there are two ways to perform incremental search: 1) Press the same key again before the timeout duration to select the next item starting with the same letter. 2) Press letter keys that match the rest of the word before the timeout duration to match to select the item in question directly. Both of these actions will be reset to the beginning of the list if the timeout duration has passed since the last keystroke was registered. You can adjust the timeout duration by changing ProjectSettings.gui/timers/incremental_search_max_interval_msec.
Propriétés
|
||
|
||
|
||
|
||
clip_contents |
|
|
|
||
|
||
|
||
|
||
|
||
focus_mode |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
Méthodes
Propriétés du thème
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Signaux
button_clicked(item: TreeItem, column: int, id: int, mouse_button_index: int) 🔗
Émis quand le bouton de l'arborescence a été pressé (voir TreeItem.add_button()).
cell_selected() 🔗
Émis lorsqu’une cellule est sélectionnée.
check_propagated_to_item(item: TreeItem, column: int) 🔗
Emitted when TreeItem.propagate_check() is called. Connect to this signal to process the items that are affected when TreeItem.propagate_check() is invoked. The order that the items affected will be processed is as follows: the item that invoked the method, children of that item, and finally parents of that item.
column_title_clicked(column: int, mouse_button_index: int) 🔗
Émis lorsque le titre d'une colonne est cliqué avec le clic gauche (@GlobalScope.MOUSE_BUTTON_LEFT) ou le clic droit (@GlobalScope.MOUSE_BUTTON_RIGHT).
custom_item_clicked(mouse_button_index: int) 🔗
Émis quand un élément en mode TreeItem.CELL_MODE_CUSTOM a été cliqué avec un bouton de souris.
custom_popup_edited(arrow_clicked: bool) 🔗
Émis quand une cellule en mode TreeItem.CELL_MODE_CUSTOM a été cliquée pour être modifiée.
empty_clicked(click_position: Vector2, mouse_button_index: int) 🔗
Émis lorsqu'un bouton de souris est cliqué dans l'espace vide de l'arborescence.
item_activated() 🔗
Emitted when an item is double-clicked, or selected with a ui_accept input event (e.g. using Enter or Space on the keyboard).
item_collapsed(item: TreeItem) 🔗
Emitted when an item is expanded or collapsed by clicking on the folding arrow or through code.
Note: Despite its name, this signal is also emitted when an item is expanded.
item_edited() 🔗
Émis lorsqu'un élément est modifié.
item_icon_double_clicked() 🔗
Emitted when an item's icon is double-clicked. For a signal that emits when any part of the item is double-clicked, see item_activated.
item_mouse_selected(mouse_position: Vector2, mouse_button_index: int) 🔗
Émis lorsqu'un élément est sélectionné avec un bouton de souris.
item_selected() 🔗
Émis lorsqu’un élément est sélectionné.
multi_selected(item: TreeItem, column: int, selected: bool) 🔗
Émis au lieu de item_selected si select_mode est défini à SELECT_MULTI.
nothing_selected() 🔗
Émis quand un clic gauche n'a sélectionné aucun élément.
Énumérations
enum SelectMode: 🔗
SelectMode SELECT_SINGLE = 0
Allows selection of a single cell at a time. From the perspective of items, only a single item is allowed to be selected. And there is only one column selected in the selected item.
The focus cursor is always hidden in this mode, but it is positioned at the current selection, making the currently selected item the currently focused item.
SelectMode SELECT_ROW = 1
Allows selection of a single row at a time. From the perspective of items, only a single items is allowed to be selected. And all the columns are selected in the selected item.
The focus cursor is always hidden in this mode, but it is positioned at the first column of the current selection, making the currently selected item the currently focused item.
SelectMode SELECT_MULTI = 2
Allows selection of multiple cells at the same time. From the perspective of items, multiple items are allowed to be selected. And there can be multiple columns selected in each selected item.
The focus cursor is visible in this mode, the item or column under the cursor is not necessarily selected.
enum DropModeFlags: 🔗
DropModeFlags DROP_MODE_DISABLED = 0
Disables all drop sections.
Note: This is the default flag, it has no effect when combined with other flags.
DropModeFlags DROP_MODE_ON_ITEM = 1
Enables the "on item" drop section. This drop section covers the entire item.
When combined with DROP_MODE_INBETWEEN, this drop section halves in height and stays centered vertically.
DropModeFlags DROP_MODE_INBETWEEN = 2
Enables "above item" and "below item" drop sections. The "above item" drop section covers the top half of the item, while the "below item" drop section covers the bottom half, and extends downward to the left of any children.
When combined with DROP_MODE_ON_ITEM, these drop sections halve in height and stay at the top and bottom respectively.
enum ScrollHintMode: 🔗
ScrollHintMode SCROLL_HINT_MODE_DISABLED = 0
Scroll hints will never be shown.
ScrollHintMode SCROLL_HINT_MODE_BOTH = 1
Scroll hints will be shown at the top and bottom.
ScrollHintMode SCROLL_HINT_MODE_TOP = 2
Only the top scroll hint will be shown.
ScrollHintMode SCROLL_HINT_MODE_BOTTOM = 3
Only the bottom scroll hint will be shown.
Descriptions des propriétés
Si true, la cellule actuellement sélectionnée peut être sélectionnée à nouveau.
bool allow_rmb_select = false 🔗
Si true, une clic droit de la souris peut sélectionner des éléments.
Si true, permet de naviguer dans le Tree avec les touches alphabétiques grâce à une recherche incrémentale.
If true, tree items with no tooltip assigned display their text as their tooltip. See also TreeItem.get_tooltip_text() and TreeItem.get_button_tooltip_text().
bool column_titles_visible = false 🔗
Si true, les titres des colonnes sont visibles.
The number of columns.
Prints an error and does not allow setting the columns during mouse selection.
The drop mode as an OR combination of flags. See DropModeFlags constants. Once dropping is done, reverts to DROP_MODE_DISABLED. Setting this during Control._can_drop_data() is recommended.
This controls the drop sections, i.e. the decision and drawing of possible drop locations based on the mouse position.
bool enable_drag_unfolding = true 🔗
If true, tree items will unfold when hovered over during a drag-and-drop. The delay for when this happens is dictated by dragging_unfold_wait_msec.
bool enable_recursive_folding = true 🔗
If true, recursive folding is enabled for this Tree. Holding down Shift while clicking the fold arrow or using ui_right/ui_left shortcuts collapses or uncollapses the TreeItem and all its descendants.
Si true, la flèche de réduction est masquée.
Si true, la racine de l'arborescence est masquée.
ScrollHintMode scroll_hint_mode = 0 🔗
void set_scroll_hint_mode(value: ScrollHintMode)
ScrollHintMode get_scroll_hint_mode()
The way which scroll hints (indicators that show that the content can still be scrolled in a certain direction) will be shown.
bool scroll_horizontal_enabled = true 🔗
Si true, permet le défilement horizontal.
bool scroll_vertical_enabled = true 🔗
Si true, permet le défilement vertical.
SelectMode select_mode = 0 🔗
void set_select_mode(value: SelectMode)
SelectMode get_select_mode()
Permet de sélectionner un seul ou plusieurs éléments. Voir les constantes SelectMode.
bool tile_scroll_hint = false 🔗
If true, the scroll hint texture will be tiled instead of stretched. See scroll_hint_mode.
Descriptions des méthodes
void clear() 🔗
Clears the tree. This removes all items.
Prints an error and does not allow clearing the tree if called during mouse selection.
TreeItem create_item(parent: TreeItem = null, index: int = -1) 🔗
Creates an item in the tree and adds it as a child of parent, which can be either a valid TreeItem or null.
If parent is null, the root item will be the parent, or the new item will be the root itself if the tree is empty.
The new item will be the index-th child of parent, or it will be the last child if there are not enough siblings.
Prints an error and returns null if called during mouse selection, or if the parent does not belong to this tree.
void deselect_all() 🔗
Deselects all tree items (rows and columns). In SELECT_MULTI mode also removes selection cursor.
bool edit_selected(force_edit: bool = false) 🔗
Edits the selected tree item as if it was clicked.
Either the item must be set editable with TreeItem.set_editable() or force_edit must be true.
Returns true if the item could be edited. Fails if no item is selected.
void ensure_cursor_is_visible() 🔗
Makes the currently focused cell visible.
This will scroll the tree if necessary. In SELECT_ROW mode, this will not do horizontal scrolling, as all the cells in the selected row is focused logically.
Note: Despite the name of this method, the focus cursor itself is only visible in SELECT_MULTI mode.
int get_button_id_at_position(position: Vector2) const 🔗
Renvoie l'identifiant du bouton à la position position, ou -1 si aucun bouton n'est là.
int get_column_at_position(position: Vector2) const 🔗
Renvoie l'index de la colonne à la position position, ou -1 s'il n'y en a aucune.
int get_column_expand_ratio(column: int) const 🔗
Renvoie le rapport d'extension assigné à la colonne.
String get_column_title(column: int) const 🔗
Renvoie le titre de la colonne.
HorizontalAlignment get_column_title_alignment(column: int) const 🔗
Renvoie l'alignement du titre de colonne.
TextDirection get_column_title_direction(column: int) const 🔗
Renvoie la direction d'écriture de base du titre de colonne.
String get_column_title_language(column: int) const 🔗
Renvoie le code de langue du titre de colonne.
String get_column_title_tooltip_text(column: int) const 🔗
Returns the column title's tooltip text.
int get_column_width(column: int) const 🔗
Renvoie la largeur de la colonne en pixels.
RID get_custom_drawing_canvas_item() const 🔗
Returns the internal canvas item designated for custom drawing. See TreeItem.set_custom_draw_callback().
Note: This canvas item clears automatically on each Tree draw call.
Rect2 get_custom_popup_rect() const 🔗
Returns the rectangle for custom popups. Helper to create custom cell controls that display a popup. See TreeItem.set_cell_mode().
int get_drop_section_at_position(position: Vector2) const 🔗
Returns the drop section at position, as permitted by enabled DropModeFlags.
-1if the position is above the item. Typically used to insert as the item's previous sibling.0if the position is on the item. Typically used to insert as the item's last child.1if the position is below the item, when the item has no children. Typically used to insert as the item's next sibling. If the item does have children, this section is still reachable by hovering to the left of the item's collapse arrow, and below.2if the position is below the item, when the item has children. Typically used to insert as the item's first child.-100if the position is not over any item, or no DropModeFlags are set.
See DropModeFlags for a description of each drop region. To get the item which the returned drop section refers to, use get_item_at_position().
Returns the currently edited item. Can be used with item_edited to get the item that was modified.
func _ready():
$Tree.item_edited.connect(on_Tree_item_edited)
func on_Tree_item_edited():
print($Tree.get_edited()) # This item just got edited (e.g. checked).
public override void _Ready()
{
GetNode<Tree>("Tree").ItemEdited += OnTreeItemEdited;
}
public void OnTreeItemEdited()
{
GD.Print(GetNode<Tree>("Tree").GetEdited()); // This item just got edited (e.g. checked).
}
int get_edited_column() const 🔗
Renvoie la colonne de l'élément actuellement modifié.
Rect2 get_item_area_rect(item: TreeItem, column: int = -1, button_index: int = -1) const 🔗
Returns the rectangle area for the specified TreeItem. If column is specified, only get the position and size of that column, otherwise get the rectangle containing all columns. If a button index is specified, the rectangle of that button will be returned.
TreeItem get_item_at_position(position: Vector2) const 🔗
Renvoie l'élément de l'arborescence à la position spécifiée (relative à la position d'origine de l'arborescence).
TreeItem get_next_selected(from: TreeItem) 🔗
Returns the next selected TreeItem after the given one, or null if the end is reached.
If from is null, this returns the first selected item.
int get_pressed_button() const 🔗
Renvoie l'index du dernier bouton pressé.
Renvoie l'élément racine de l'arborescence, ou null si l'arborescence est vide.
Renvoie la position de défilement actuelle.
TreeItem get_selected() const 🔗
Renvoie l'élément ayant actuellement le focus, ou null si aucun élément n'a le focus.
Dans les modes SELECT_ROW et SELECT_SINGLE, l'élément avec le focus est le même que l'élément sélectionné. En mode SELECT_MULTI, l'élément avec le focus est l'élément sous le curseur de focus, et pas nécessairement sélectionné.
Pour obtenir le ou les éléments actuellement sélectionnés, utilisez get_next_selected().
int get_selected_column() const 🔗
Returns the currently focused column, or -1 if no column is focused.
In SELECT_SINGLE mode, the focused column is the selected column. In SELECT_ROW mode, the focused column is always 0 if any item is selected. In SELECT_MULTI mode, the focused column is the column under the focus cursor, and there are not necessarily any column selected.
To tell whether a column of an item is selected, use TreeItem.is_selected().
bool is_column_clipping_content(column: int) const 🔗
Renvoie true si la colonne a activé le clipping (litt. coupure, voir set_column_clip_content()).
bool is_column_expanding(column: int) const 🔗
Renvoie true si la colonne a l'expansion activée (voir set_column_expand()).
void scroll_to_item(item: TreeItem, center_on_item: bool = false) 🔗
Amène le Tree à sauter vers le TreeItem spécifié.
void set_column_clip_content(column: int, enable: bool) 🔗
Permet d'activer le clipping pour le contenu de la colonne, ignorant la taille du contenu.
void set_column_custom_minimum_width(column: int, min_width: int) 🔗
Overrides the calculated minimum width of a column. It can be set to 0 to restore the default behavior. Columns that have the "Expand" flag will use their "min_width" in a similar fashion to Control.size_flags_stretch_ratio.
void set_column_expand(column: int, expand: bool) 🔗
If true, the column will have the "Expand" flag of Control. Columns that have the "Expand" flag will use their expand ratio in a similar fashion to Control.size_flags_stretch_ratio (see set_column_expand_ratio()).
void set_column_expand_ratio(column: int, ratio: int) 🔗
Définit le rapport d'expansion relatif pour une colonne. Voir set_column_expand().
void set_column_title(column: int, title: String) 🔗
Définit le titre d’une colonne.
void set_column_title_alignment(column: int, title_alignment: HorizontalAlignment) 🔗
Sets the column title alignment. Note that @GlobalScope.HORIZONTAL_ALIGNMENT_FILL is not supported for column titles.
void set_column_title_direction(column: int, direction: TextDirection) 🔗
Définit la direction d'écriture de base du titre de colonne.
void set_column_title_language(column: int, language: String) 🔗
Sets the language code of the given column's title to language. This is used for line-breaking and text shaping algorithms. If language is empty, the current locale is used.
void set_column_title_tooltip_text(column: int, tooltip_text: String) 🔗
Sets the column title's tooltip text.
void set_selected(item: TreeItem, column: int) 🔗
Sélectionne la colonne et le TreeItem spécifiés.
Descriptions des propriétés du thème
Color children_hl_line_color = Color(0.27, 0.27, 0.27, 1) 🔗
La Color des liens relationnels entre le TreeItem sélectionné et ses enfants.
Color custom_button_font_highlight = Color(0.95, 0.95, 0.95, 1) 🔗
La Color du texte pour un mode de cellule TreeItem.CELL_MODE_CUSTOM quand elle est survolée.
Color drop_on_item_color = Color(1, 1, 1, 1) 🔗
Color used to draw the highlight outline when dragging items that can only be dropped "on" other items.
Color drop_position_color = Color(1, 1, 1, 1) 🔗
Color used to draw possible drop locations. See DropModeFlags constants for further description of drop locations.
Color font_color = Color(0.7, 0.7, 0.7, 1) 🔗
La Color par défaut du texte de l'élément.
Color font_disabled_color = Color(0.875, 0.875, 0.875, 0.5) 🔗
Text Color for a TreeItem.CELL_MODE_CHECK mode cell when it's non-editable (see TreeItem.set_editable()).
Color font_hovered_color = Color(0.95, 0.95, 0.95, 1) 🔗
Color du texte utilisée lorsque l'élément est survolé et pas encore sélectionné.
Color font_hovered_dimmed_color = Color(0.875, 0.875, 0.875, 1) 🔗
Text Color used when the item is hovered, while a button of the same item is hovered as the same time.
Color font_hovered_selected_color = Color(1, 1, 1, 1) 🔗
Color du texte utilisée quand l'élément est survolé et sélectionné.
Color font_outline_color = Color(0, 0, 0, 1) 🔗
Le teinte du contour de texte de l'élément.
Color font_selected_color = Color(1, 1, 1, 1) 🔗
La Color du texte utilisée quand l'élément est sélectionné.
Color guide_color = Color(0.7, 0.7, 0.7, 0.25) 🔗
Color de la ligne directrice.
Color parent_hl_line_color = Color(0.27, 0.27, 0.27, 1) 🔗
La Color des liens relationnels entre le TreeItem sélectionné et ses parents.
Color relationship_line_color = Color(0.27, 0.27, 0.27, 1) 🔗
La Color par défaut des lignes relationnelles.
Color scroll_hint_color = Color(0, 0, 0, 1) 🔗
Color used to modulate the scroll_hint texture.
Color title_button_color = Color(0.875, 0.875, 0.875, 1) 🔗
La Color par défaut du titre du bouton.
L'espacement horizontal entre chaque bouton dans une cellule.
The horizontal space between the checkbox and the text in a TreeItem.CELL_MODE_CHECK mode cell.
int children_hl_line_width = 1 🔗
La largeur des lignes relationnelles entre le TreeItem sélectionné et ses enfants.
int dragging_unfold_wait_msec = 500 🔗
During a drag-and-drop, this is how many milliseconds to wait over a section before the section unfolds.
Draws the guidelines if not zero, this acts as a boolean. The guideline is a horizontal line drawn at the bottom of each item.
int draw_relationship_lines = 0 🔗
Draws the relationship lines if not zero, this acts as a boolean. Relationship lines are drawn at the start of child items to show hierarchy.
L'espace horizontal entre les cellules d'éléments. Ceci est également utilisé en tant que marge au début d'un élément lorsque le repliage est désactivé.
The horizontal space between the icon and the text in item's cells.
The maximum allowed width of the icon in item's cells. This limit is applied on top of the default size of the icon, but before the value set with TreeItem.set_icon_max_width(). The height is adjusted according to the icon's ratio.
int inner_item_margin_bottom = 0 🔗
La marge inférieure intérieure d'une cellule.
int inner_item_margin_left = 0 🔗
La marge gauche intérieure d'une cellule.
int inner_item_margin_right = 0 🔗
La marge droite intérieure d'une cellule.
int inner_item_margin_top = 0 🔗
La marge supérieure intérieure d'une cellule.
The horizontal margin at the start of an item. This is used when folding is enabled for the item.
La taille du contour du texte.
Note : Si vous utilisez une police avec FontFile.multichannel_signed_distance_field activé, sa propriété FontFile.msdf_pixel_range doit être définie à au moins deux fois la valeur de outline_size pour que le rendu des contours soit correct. Sinon, le contour peut sembler coupé plus tôt que prévu.
int parent_hl_line_margin = 0 🔗
The space between the parent relationship lines for the selected TreeItem and the relationship lines to its siblings that are not selected.
int parent_hl_line_width = 1 🔗
La largeur des lignes relationnelles entre le TreeItem sélectionné et ses parents.
int relationship_line_width = 1 🔗
La largeur par défaut des lignes relationnelles.
The maximum distance between the mouse cursor and the control's border to trigger border scrolling when dragging.
La vitesse de défilement des bordures.
int scrollbar_h_separation = 4 🔗
La séparation horizontale entre le contenu de l'arborescence et la barre de défilement.
int scrollbar_margin_bottom = -1 🔗
La marge inférieure des barres de défilement. Lorsque négative, utilise la marge inférieure de panel.
int scrollbar_margin_left = -1 🔗
The left margin of the horizontal scrollbar. When negative, uses panel left margin.
int scrollbar_margin_right = -1 🔗
La marge de droite des barres de défilement. Lorsque négative, utilise la marge de droite de panel.
int scrollbar_margin_top = -1 🔗
The top margin of the vertical scrollbar. When negative, uses panel top margin.
int scrollbar_v_separation = 4 🔗
La séparation verticale entre le contenu de l'arborescence et la barre de défilement.
Le rembourrage vertical à l'intérieur de chaque élément, c'est-à-dire la distance entre le contenu de l'élément et la bordure supérieure/inférieure.
Font du texte de l’élément.
Font du texte du bouton de titre.
Taille de police du texte de l'élément.
Taille de police du texte du bouton du titre.
L'icône de la flèche utilisée quand un élément n'est pas replié.
L'icône de flèche utilisée lorsqu'un objet repliable est réduit (pour les mises en pages de gauche à droite).
Texture2D arrow_collapsed_mirrored 🔗
L'icône de flèche utilisée lorsqu'un objet repliable est réduit (pour les mises en pages de droite à gauche).
The check icon to display when the TreeItem.CELL_MODE_CHECK mode cell is checked and editable (see TreeItem.set_editable()).
The check icon to display when the TreeItem.CELL_MODE_CHECK mode cell is checked and non-editable (see TreeItem.set_editable()).
The check icon to display when the TreeItem.CELL_MODE_CHECK mode cell is indeterminate and editable (see TreeItem.set_editable()).
Texture2D indeterminate_disabled 🔗
The check icon to display when the TreeItem.CELL_MODE_CHECK mode cell is indeterminate and non-editable (see TreeItem.set_editable()).
The indicator that will be shown when the content can still be scrolled. See scroll_hint_mode.
L'icône de la flèche à afficher pour les cellules en mode TreeItem.CELL_MODE_RANGE.
The check icon to display when the TreeItem.CELL_MODE_CHECK mode cell is unchecked and editable (see TreeItem.set_editable()).
Texture2D unchecked_disabled 🔗
The check icon to display when the TreeItem.CELL_MODE_CHECK mode cell is unchecked and non-editable (see TreeItem.set_editable()).
L'icône de la flèche haut-bas à afficher quand la cellule en mode TreeItem.CELL_MODE_RANGE.
Lq StyleBox utilisée quand un bouton dans l'arborescence est survolé.
La StyleBox utilisée quand un bouton dans l'arborescence est appuyé.
La StyleBox utilisée pour le curseur, quand le Tree a le focus.
La StyleBox utilisée pour le curseur, quand le Tree n'a pas le focus.
Default StyleBox for a TreeItem.CELL_MODE_CUSTOM mode cell when button is enabled with TreeItem.set_custom_as_button().
StyleBox custom_button_hover 🔗
La StyleBox pour une cellule de bouton avec le mode TreeItem.CELL_MODE_CUSTOM quand elle est survolée.
StyleBox custom_button_pressed 🔗
La StyleBox pour une cellule de bouton avec le mode TreeItem.CELL_MODE_CUSTOM quand elle est appuyée.
Le style de focus pour le Tree, dessiné au dessus de tout.
La StyleBox pour l'élément étant survolé, mais pas sélectionné.
StyleBox utilisée pour l'élément survolé, quand un bouton du même élément est survolé en même temps.
StyleBox utilisée pour les éléments sélectionnés et survolés, quand le Tree n'a pas le focus.
StyleBox hovered_selected_focus 🔗
StyleBox utilisée pour les éléments sélectionnés et survolés, quand le Tree a le focus.
Le style d'arrière-plan pour le Tree.
La StyleBox pour les éléments sélectionnés, utilisée quand le Tree n'a pas le focus.
La StyleBox pour les éléments sélectionnés, utilisée quand le Tree a le focus.
La StyleBox utilisée quand le titre du bouton est survolé.
StyleBox title_button_normal 🔗
La StyleBox par défaut pour le titre du bouton.
StyleBox title_button_pressed 🔗
La StyleBox utilisée quand le titre du bouton est appuyé.