godot/scene/gui
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
..
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
base_button.cpp Rename button group property to button_group 2020-10-24 01:30:18 -04:00
base_button.h Remove redundant property "enabled_focus_mode" 2020-10-13 10:04:37 +02:00
box_container.cpp Renamed toplevel to be top_level 2020-10-01 03:17:33 -04:00
box_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
button.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
button.h Add override keywords. 2020-07-10 13:56:54 +01:00
center_container.cpp Renamed toplevel to be top_level 2020-10-01 03:17:33 -04:00
center_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
check_box.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
check_box.h Add override keywords. 2020-07-10 13:56:54 +01:00
check_button.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
check_button.h Add override keywords. 2020-07-10 13:56:54 +01:00
code_edit.cpp ScriptEditor: Fix line number gutter drag select 2020-10-25 12:13:54 -07:00
code_edit.h Add folding gutter to code_edit 2020-09-10 20:35:28 +01:00
color_picker.cpp Renamed toplevel to be top_level 2020-10-01 03:17:33 -04:00
color_picker.h Add override keywords. 2020-07-10 13:56:54 +01:00
color_rect.cpp Fixup `ColorRect` and `TextureRect` renames 2020-10-19 19:34:35 +03:00
color_rect.h Fixup `ColorRect` and `TextureRect` renames 2020-10-19 19:34:35 +03:00
container.cpp Merge pull request #38743 from arrowinaknee/node-config-warnings 2020-10-01 14:03:29 +02:00
container.h Add override keywords. 2020-07-10 13:56:54 +01:00
control.cpp Tooltips: Improve code clarity and docs 2020-11-03 09:19:03 +01:00
control.h Updated getters and setters names for toplevel 2020-10-02 19:09:01 -04:00
dialogs.cpp Renamed toplevel to be top_level 2020-10-01 03:17:33 -04:00
dialogs.h Fix cancel/OK button order on macOS 2020-07-10 15:10:11 -05:00
file_dialog.cpp Updated getters and setters names for toplevel 2020-10-02 19:09:01 -04:00
file_dialog.h Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
gradient_edit.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
gradient_edit.h Add override keywords. 2020-07-10 13:56:54 +01:00
graph_edit.cpp Removed underscore from GraphEdit begin/end_node_move signals 2020-10-20 09:22:40 +03:00
graph_edit.h Fix emit_signal timing for GraphEdit's begin/end node move 2020-10-19 18:25:07 -07:00
graph_node.cpp Refactor MethodBind to use variadic templates 2020-10-18 12:28:44 +02:00
graph_node.h Add override keywords. 2020-07-10 13:56:54 +01:00
grid_container.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
grid_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
item_list.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
item_list.h Add override keywords. 2020-07-10 13:56:54 +01:00
label.cpp Merge pull request #40649 from themvl/master 2020-09-05 12:38:26 +02:00
label.h Add override keywords. 2020-07-10 13:56:54 +01:00
line_edit.cpp Merge pull request #41870 from nekomatata/fix-line-edit-enter-regression 2020-09-08 11:14:33 +02:00
line_edit.h Merge pull request #39737 from Cevantime/add_force_caret_displayed_to_line_edit 2020-07-23 18:02:51 +02:00
link_button.cpp Remove redundant property "enabled_focus_mode" 2020-10-13 10:04:37 +02:00
link_button.h Add override keywords. 2020-07-10 13:56:54 +01:00
margin_container.cpp Renamed toplevel to be top_level 2020-10-01 03:17:33 -04:00
margin_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
menu_button.cpp Remove printing of windowpos/screenpos in MenuButton 2020-10-21 09:58:37 +03:00
menu_button.h Add override keywords. 2020-07-10 13:56:54 +01:00
nine_patch_rect.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
nine_patch_rect.h Fixup `ColorRect` and `TextureRect` renames 2020-10-19 19:34:35 +03:00
option_button.cpp Allow searching with keyboard input by default in PopupMenu 2020-05-17 23:28:24 +02:00
option_button.h Add override keywords. 2020-07-10 13:56:54 +01:00
panel.cpp Style: Enforce separation line between function definitions 2020-05-14 16:54:55 +02:00
panel.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
panel_container.cpp Renamed toplevel to be top_level 2020-10-01 03:17:33 -04:00
panel_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
popup.cpp Renamed toplevel to be top_level 2020-10-01 03:17:33 -04:00
popup.h Fix popup closed when an ancestor window is focused 2020-08-22 18:42:42 +02:00
popup_menu.cpp Fix popup menu item selected when opening the menu 2020-09-18 20:45:59 +02:00
popup_menu.h Fix popup menu item selected when opening the menu 2020-09-18 20:45:59 +02:00
progress_bar.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
progress_bar.h Add override keywords. 2020-07-10 13:56:54 +01:00
range.cpp Update all get_configuration_warning to retrieve warnings from the parent 2020-05-16 16:07:42 +03:00
range.h Add override keywords. 2020-07-10 13:56:54 +01:00
reference_rect.cpp Add `border_width` to `ReferenceRect` 2020-10-20 13:58:50 +03:00
reference_rect.h Add `border_width` to `ReferenceRect` 2020-10-20 13:58:50 +03:00
rich_text_effect.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
rich_text_effect.h [Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms. 2020-09-03 19:56:24 +03:00
rich_text_label.cpp Improvement for the Copy button in the Output Log 2020-09-14 21:57:54 +03:00
rich_text_label.h Improvement for the Copy button in the Output Log 2020-09-14 21:57:54 +03:00
scroll_bar.cpp GUI ScrollBar: possible fix for scrolling 2020-07-25 21:54:56 +02:00
scroll_bar.h Add override keywords. 2020-07-10 13:56:54 +01:00
scroll_container.cpp Merge pull request #42451 from Duroxxigar/rename-toplevel 2020-10-02 10:57:23 +02:00
scroll_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
separator.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
separator.h Add override keywords. 2020-07-10 13:56:54 +01:00
shortcut.cpp Rename ShortCut to Shortcut which is more grammatically correct 2020-09-09 21:54:54 +02:00
shortcut.h Rename ShortCut to Shortcut which is more grammatically correct 2020-09-09 21:54:54 +02:00
slider.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
slider.h Add override keywords. 2020-07-10 13:56:54 +01:00
spin_box.cpp Merge pull request #38223 from EricEzaM/spinbox-update-lineedit-after-bad-input 2020-08-14 12:16:32 +02:00
spin_box.h Add override keywords. 2020-07-10 13:56:54 +01:00
split_container.cpp Renamed toplevel to be top_level 2020-10-01 03:17:33 -04:00
split_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
subviewport_container.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
subviewport_container.h Add override keywords. 2020-07-10 13:56:54 +01:00
tab_container.cpp Fix crash in TabContainer in case of no content at all 2020-10-29 19:52:21 +09:00
tab_container.h Put unselected tabs back in TabContainer control 2020-10-13 22:05:26 +09:00
tabs.cpp Add 'get_previous_tab()' to 'Tabs' 2020-09-08 17:35:49 -03:00
tabs.h Add 'get_previous_tab()' to 'Tabs' 2020-09-08 17:35:49 -03:00
text_edit.cpp Removed redundant line from TextEdit 2020-10-28 12:56:20 +03:00
text_edit.h ScriptEditor: Fix line number gutter drag select 2020-10-25 12:13:54 -07:00
texture_button.cpp Added flip_h and flip_v properties in TextureButton 2020-07-01 11:31:27 +02:00
texture_button.h Add override keywords. 2020-07-10 13:56:54 +01:00
texture_progress.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
texture_progress.h Add override keywords. 2020-07-10 13:56:54 +01:00
texture_rect.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
texture_rect.h Fixup `ColorRect` and `TextureRect` renames 2020-10-19 19:34:35 +03:00
tree.cpp Respect Tree.set_icon_max_width size for drawing selection box 2020-10-13 10:38:32 +09:00
tree.h Add override keywords. 2020-07-10 13:56:54 +01:00
video_player.cpp VideoPlayer: fix possible race condition 2020-06-29 13:01:54 +10:00
video_player.h Add override keywords. 2020-07-10 13:56:54 +01:00