godot/scene/main
Rémi Verschelde c5d8dafec4
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.
2020-11-03 09:19:03 +01:00
..
canvas_item.cpp Implement CanvasGroup and CanvasItem clipping 2020-10-28 18:53:32 -03:00
canvas_item.h Implement CanvasGroup and CanvasItem clipping 2020-10-28 18:53:32 -03:00
canvas_layer.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
canvas_layer.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
http_request.cpp doc: Sync classref with current source 2020-09-11 12:22:10 +02:00
http_request.h HTTPRequest now accepts gzip 2020-09-02 12:59:59 -07:00
instance_placeholder.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
instance_placeholder.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
node.cpp [Complex Test Layouts] Change String to use UTF-32 encoding on all platforms. 2020-09-03 19:56:24 +03:00
node.h Refactor MethodBind to use variadic templates 2020-10-18 12:28:44 +02:00
resource_preloader.cpp Style: Enforce separation line between function definitions 2020-05-14 16:54:55 +02:00
resource_preloader.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
scene_tree.cpp Refactor pixel snapping. 2020-10-30 08:57:32 -03:00
scene_tree.h scene_tree.h: Update header guard 2020-09-10 17:20:50 +03:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
shader_globals_override.cpp Update all get_configuration_warning to retrieve warnings from the parent 2020-05-16 16:07:42 +03:00
shader_globals_override.h Add override keywords. 2020-07-10 13:56:54 +01:00
timer.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
timer.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
viewport.cpp Tooltips: Improve code clarity and docs 2020-11-03 09:19:03 +01:00
viewport.h Tooltips: Improve code clarity and docs 2020-11-03 09:19:03 +01:00
window.cpp include parent display location in popup location calculation 2020-10-21 12:58:39 -04:00
window.h Add override keywords. 2020-07-10 13:56:54 +01:00