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...
GraphFrame
Hérite de : GraphElement < Container < Control < CanvasItem < Node < Object
GraphFrame is a special GraphElement that can be used to organize other GraphElements inside a GraphEdit.
Description
GraphFrame is a special GraphElement to which other GraphElements can be attached. It can be configured to automatically resize to enclose all attached GraphElements. If the frame is moved, all the attached GraphElements inside it will be moved as well.
A GraphFrame is always kept behind the connection layer and other GraphElements inside a GraphEdit.
Propriétés
|
||
|
||
|
||
mouse_filter |
|
|
|
||
|
||
|
Méthodes
Propriétés du thème
|
||
Signaux
autoshrink_changed() 🔗
Émis quand autoshrink_enabled ou autoshrink_margin sont changés.
Descriptions des propriétés
bool autoshrink_enabled = true 🔗
If true, the frame's rect will be adjusted automatically to enclose all attached GraphElements.
The margin around the attached nodes that is used to calculate the size of the frame when autoshrink_enabled is true.
The margin inside the frame that can be used to drag the frame.
Color tint_color = Color(0.3, 0.3, 0.3, 0.75) 🔗
La couleur de la trame lorsque tint_color_enabled vaut true.
bool tint_color_enabled = false 🔗
If true, the tint color will be used to tint the frame.
Title of the frame.
Descriptions des méthodes
HBoxContainer get_titlebar_hbox() 🔗
Returns the HBoxContainer used for the title bar, only containing a Label for displaying the title by default.
This can be used to add custom controls to the title bar such as option or close buttons.
Descriptions des propriétés du thème
Color resizer_color = Color(0.875, 0.875, 0.875, 1) 🔗
La couleur de modulation appliquée à l'icône de redimensionnement.
The default StyleBox used for the background of the GraphFrame.
The StyleBox used for the background of the GraphFrame when it is selected.
The StyleBox used for the title bar of the GraphFrame.
The StyleBox used for the title bar of the GraphFrame when it is selected.