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...
FoldableGroup
繼承: Resource < RefCounted < Object
A group of foldable containers that doesn't allow more than one container to be expanded at a time.
說明
A group of FoldableContainer-derived nodes. Only one container can be expanded at a time.
屬性
|
||
resource_local_to_scene |
|
方法
get_containers() const |
|
get_expanded_container() const |
訊號
expanded(container: FoldableContainer) 🔗
Emitted when one of the containers of the group is expanded.
屬性說明
bool allow_folding_all = false 🔗
If true, it is possible to fold all containers in this FoldableGroup.
方法說明
Array[FoldableContainer] get_containers() const 🔗
Returns an Array of FoldableContainers that have this as their FoldableGroup (see FoldableContainer.foldable_group). This is equivalent to ButtonGroup but for FoldableContainers.
FoldableContainer get_expanded_container() const 🔗
Returns the current expanded container.