summaryrefslogtreecommitdiff
path: root/doc/classes/Control.xml
AgeCommit message (Collapse)Author
2023-01-31Fix C# examples in documentationRaul Santos
- Fix documentation after C# renames. - Add missing `partial` in C# class declarations. - Change `delta` parameter type to `double` in C#. - Ensure parameters match base declaration. - Use `$` string interpolation in C#. - Fix invalid or outdated C# code. - Changed some examples to follow our style guide more closely.
2023-01-26Merge pull request #66688 from Sauermann/fix-control-get-global-rect-coordinatesRémi Verschelde
Fix Control rect coordinate system inconsistency
2023-01-25Silence `warp_mouse()` warning in favor of documentationHugo Locurcio
This warning was spammed in the Android editor when using the navigation joysticks in the 3D viewport when the finger slid over the viewport's edges.
2023-01-18Implement BiDi override mode for GDScript source.bruvzg
2023-01-15Class reference: snake_case .gd filenames, _on_*Doug Thompson
This is for: https://github.com/godotengine/godot-docs/issues/6245
2023-01-10Change set_drag_forwarding() to use callables.Juan Linietsky
* This solution is much cleaner than the one in 3.x thanks to the use of callables. * Works without issues in any language (no need to worry about camel or snake case). * Editor code uses a compatibility function (too much work to redo). Fixes #59899
2023-01-08Use BitField<> hint for ArrayFormatJuan Linietsky
This was missing in the conversion of bitflags to BitField<>.
2022-12-19Restore 'rotation_degrees' properties.Juan Linietsky
By popular demand, restoring the helper properties to rotate objects in degrees. Affected are local and global rotations for: * Node2D * Node3D * Control
2022-12-07Copy local theme overrides from Control to WindowYuri Sizov
2022-11-17Add `Control::localize_numeral_system` property to toggle automatic numeral ↵bruvzg
system conversion.
2022-11-14fix "unknown document" classref linksHana
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-10-27Doc consistency: "inspector" to "Inspector"Micky
Also fixes a slightly misleading comment in `Node.print_tree_pretty`.
2022-10-22Fix Control rect coordinate system inconsistencyMarkus Sauermann
Fix get_rect, get_global_rect and get_screen_rect to take Controls scale into account. Simplify get_screen_position and get_screen_rect
2022-10-19Merge pull request #66279 from aaronfranke/control-min-sizeMax Hilbrunner
Revert `custom_minimum_size` type back to `Vector2` instead of `Vector2i`
2022-10-19Merge pull request #66410 from RedMser/patch-1Max Hilbrunner
Fix `Control.get_global_rect` documentation
2022-10-13Move Shortcut Context to Control and ensure that `shortcut_input` adheres to ↵Eric M
contexts. Also ensure that controls with no context are only triggered AFTER nodes which do have a context.
2022-10-05Add documentation for viewport's input handlingRedMser
2022-10-04update messaging for focus to be less keyboard-specificJosh Anthony
Update doc/classes/Control.xml Co-authored-by: Rémi Verschelde <rverschelde@gmail.com> Update doc/classes/Control.xml Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-09-30Fix typos with codespellRémi Verschelde
Using codespell 2.3-dev from current git. And fix typo in `methods.py` for `vsproj=yes` option (still won't work though).
2022-09-28Fix Control.get_global_rect documentationRedMser
It uses `get_global_position` internally, which is relative to the current canvas layer (unlike `get_screen_position`).
2022-09-22Revert custom_minimum_size type back to Vector2 instead of Vector2iAaron Franke
2022-09-08Make `Vector2i` values paired with `EDSCALE` be just `Vector2`Michael Alexsander
2022-08-30Mention that grab_focus is more reliable deferredkobewi
2022-08-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-27Rename `hint_tooltip` to `tooltip_text` & setgetMicky
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
2022-08-26Add ThemeDB, expose previously static Theme methodsYuri Sizov
2022-08-25Refactor and remove excessive calls of `NOTIFICATION_THEME_CHANGED`Aaron Record
2022-08-22Replace Array return types with TypedArraykobewi
2022-08-12[doc] Use "param" instead of "code" to refer to parameters (7)Andy Maloney
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-07-18Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge
2022-06-23enhancement: rename exposed property Control::minimum_size to ↵Pierre-Thomas Meisels
Control::custom_minimum_size
2022-05-19Merge pull request #61020 from timothyqiu/wait-busyRémi Verschelde
2022-05-17Keep input event as unhandled if they go through a control set to ↵Gilles Roudière
MOUSE_FILTER_PASS
2022-05-14Swap the meaning of CURSOR_WAIT and CURSOR_BUSYHaoyu Qiu
2022-04-25Merge pull request #60472 from KoBeWi/dragging_rightsRémi Verschelde
2022-04-24Improve descriptions for drag methodskobewi
2022-04-22Implement Label3D node.bruvzg
Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.
2022-03-27Rename warp mouse functions to warp_mouseMarkus Sauermann
2022-03-13Expose methods for screen-space transformskobewi
2022-03-08Rename Control's Rect properties to exclude rect_ partMarcel Admiraal
2022-02-15Add an XML schema for documentationHugo Locurcio
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-10Reorganize inspector layout workflow for Control nodesYuri Sizov
2022-02-03Remove get_focus_owner() from Control, replaced by ↵Gilles Roudière
get_viewport()->gui_get_focus_owner()
2022-01-12Improve description of mouse_exited signalkobewi
2022-01-02Fix usage of "Return" in the docskobewi
2021-12-14Document get_minimum_size not called in some nodeskobewi
2021-12-06Rename minimum_size_changed() methodkobewi
2021-11-22Merge pull request #55151 from Chaosus/control_reset_sizeRémi Verschelde