godot/scene/main
Rémi Verschelde 05143ca39a
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.

(cherry picked from commit c5d8dafec4)
2020-11-11 15:30:56 +01:00
..
canvas_layer.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
canvas_layer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
http_request.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
http_request.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
instance_placeholder.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
instance_placeholder.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
node.cpp Expose NOTIFICATION_POST_ENTER_TREE 2020-08-14 00:32:05 +02:00
node.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
resource_preloader.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
resource_preloader.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scene_tree.cpp Merge pull request #42942 from Calinou/add-viewport-debanding-3.2 2020-10-30 11:47:57 +01:00
scene_tree.h Add a shorthand for setting the exit code using SceneTree::quit() 2020-01-03 11:41:46 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
timer.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
timer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
viewport.cpp Tooltips: Improve code clarity and docs 2020-11-11 15:30:56 +01:00
viewport.h Tooltips: Improve code clarity and docs 2020-11-11 15:30:56 +01:00