summaryrefslogtreecommitdiff
path: root/scene/gui/check_button.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-11-02 17:18:29 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-11-03 09:19:03 +0100
commitc5d8dafec4c57d05e97bdce06b2e43bdcc6846bd (patch)
tree8a00597ee11494ed673cfb1964e4e5ded965835a /scene/gui/check_button.cpp
parent873d4617852cddfd368e3046f718f410eade6a3e (diff)
Tooltips: Improve code clarity and docs
The return type for `_make_custom_tooltip` is clarified as Control, and users should make sure to return a visible node for proper size calculations. Moreover in the current master branch, a PopupPanel will be added as parent to the provided tooltip to make it a sub-window. Clarifies documentation for `Control._make_custom_tooltip`, and shows how to use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types to style tooltips. Fixes #39677.
Diffstat (limited to 'scene/gui/check_button.cpp')
0 files changed, 0 insertions, 0 deletions