Commit graph

261 commits

Author SHA1 Message Date
Michael Alexsander
aeb3a45c97
Hide Control focus when given via mouse input 2025-09-19 13:43:29 -03:00
aidcoope
e3a6abd871 Fix typo in control node _make_custom_tooltip description. 2025-09-13 16:58:49 -04:00
Talkashie
bc7e68dfd1 Typos 2025-08-19 18:32:59 -05:00
Haoyu Qiu
0e5b06c26d Fix various errors in the class reference 2025-06-13 21:14:55 +08:00
Haoyu Qiu
4e20e33e21 Expose Node.can_auto_translate() 2025-06-11 11:26:43 +08:00
Pāvels Nadtočajevs
aff5b413aa
Move some accessibility properties from Node to Control 2025-06-08 16:25:28 +03:00
kobewi
13f642d959
Replace XML codeblock spaces with tabs 2025-06-06 14:35:38 +02:00
Haoyu Qiu
1e82bafa3a Remove redundant info on the enum types used 2025-06-04 08:21:47 +08:00
Haoyu Qiu
e22540bc0b Improve description of Control.scale 2025-05-16 15:31:08 +08:00
Thaddeus Crews
113ef4df78
Merge pull request #105357 from MewPurPur/tweak-get-cursor-shape-doc
Improve get_cursor_shape() documentation
2025-04-27 19:21:11 -05:00
MewPurPur
6a19128a1a Improve get_cursor_shape() documentation 2025-04-13 20:11:46 +03:00
kit
d16e8b7ca4 Fix and rename mouse filter recursive behavior
and focus mode recursive behavior.
2025-04-09 23:45:03 -04:00
Thaddeus Crews
e6a61b1ecc
Merge pull request #76829 from bruvzg/ac_kit_direct
Implement screen reader support using AccessKit library.
2025-04-08 12:32:47 -05:00
Pāvels Nadtočajevs
b106dfd4f9
Base accessibility API. 2025-04-08 20:14:28 +03:00
Micky
7603945d14 Fix *even* more miscellaneous oddities around the class reference 2025-04-07 17:37:08 +02:00
DE-YU_H14
a49ca33a7f Implement properties that recursively disables children's focus & mouse filter.
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-03-07 22:34:58 +08:00
Hugo Locurcio
e05f0a45f6 Improve documentation on forcing right-to-left layout in Control 2025-02-12 02:20:31 +01:00
Hugo Locurcio
65c795eb35
Clarify the behavior of Control.layout_direction in the documentation 2025-02-11 16:56:22 +01:00
Rémi Verschelde
f37fd1c3f2
Merge pull request #99238 from Calinou/doc-node2d-no-z-index
Update Z Index property location in Node2D class reference
2024-11-29 22:47:11 +01:00
Haoyu Qiu
fb5a4bac6e Improve documentation for tooltip-related methods 2024-11-26 10:04:51 +08:00
Thaddeus Crews
ec01ad65fd Merge pull request #99620 from tetrapod00/doc-control-children
Docs: Update Control class to properly reflect behavior of Themes on Control Children
2024-11-25 13:22:20 -06:00
tetrapod00
13b565c64d Docs: Update Control class to properly reflect behavior of Themes on Control Children
Document fact that themes only propagate to control children
(not Node2D, etc). Wording is copied from Theme docs.
Also clarifies line somewhat.

Co-Authored-By: Allyson Chan <allysonn.chann@gmail.com>
2024-11-24 10:30:02 -08:00
Hugo Locurcio
d683ea4772 Update Z Index property location in Node2D class reference
The Z Index property is in CanvasItem since Godot 4.0, so it's shared among
Node2D and Control.
2024-11-15 15:02:10 +01:00
Micky
eaebb3f864 Fix more miscellaneous oddities around the class reference 2024-11-12 17:44:45 +01:00
Thaddeus Crews
2c31bd767c
Merge pull request #99020 from Mickeon/documentation-example-pruning-2
Clean up more `[b]Example:[/b]` lines from the class reference
2024-11-12 09:28:02 -06:00
Thaddeus Crews
e66d9988a6
Merge pull request #95774 from Mickeon/documentation-miscellaneous-oddities
Fix miscellaneous oddities around the class reference
2024-11-12 09:27:47 -06:00
Micky
932b1c434c Clean up more [b]Example:[/b] lines from the class reference 2024-11-11 12:05:34 +01:00
Micky
5c5460b026 Fix many untagged true/false/null in the documentation 2024-11-10 11:26:39 +01:00
Clay John
a3080477ac
Merge pull request #98281 from timothyqiu/custom-tooltip-atm
Don't override auto translate mode of custom tooltip
2024-10-27 19:25:37 -07:00
Thaddeus Crews
422535ee86
Merge pull request #97966 from mh114/mh114-fix-control-doc-typo
Fix a documentation typo in `Control._drop_data()` C#-example.
2024-10-25 13:03:56 -05:00
Haoyu Qiu
6424b201e2 Don't override auto translate mode of custom tooltip 2024-10-25 16:13:45 +08:00
Haoyu Qiu
009446a277 Add System Locale layout direction for Control and Window 2024-10-17 07:52:07 +08:00
Mika Halttunen
1a2c574200
Fixed a documentation typo in Control._drop_data() C#-example. 2024-10-08 14:01:59 +03:00
Haoyu Qiu
78801f61da Add auto translate mode for tooltips 2024-09-26 22:31:22 +08:00
Micky
b8f78b14be Fix miscellaneous oddities around the class reference 2024-08-18 23:18:44 +02:00
kit
a3b944c41d Clarify Mouse Filter Pass in the Inspector 2024-06-19 14:43:06 -04:00
Haoyu Qiu
48f1e5b561 Don't store deprecated auto-translate property 2024-04-15 14:23:24 +08:00
kobewi
ece38cbe14 Improve custom_minimum_size description 2024-04-11 11:34:43 +02:00
Rémi Verschelde
0e36df69f9
Merge pull request #89815 from KoBeWi/translates_bananas
Improve some notification and translation docs
2024-03-25 10:42:37 +01:00
kobewi
83789426cc Improve some notification and translation docs 2024-03-24 15:14:02 +01:00
Ricardo Buring
2ed2ccc2d8 Fixed Timestep Interpolation (2D)
Adds fixed timestep interpolation to the rendering server (2D only).
Switchable on and off with a project setting (default is off).

Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-03-23 12:28:36 +01:00
Rémi Verschelde
3ce9ae71fc
Merge pull request #84906 from /fix-some-defvals 2024-02-23 11:29:22 +01:00
Raul Santos
5ba92e5a57
Fix some DEFVALs to use the right type
- Use `StringName()` in DEFVAL for StringNames.
- Use `Variant()` in DEFVAL for Variants.
2024-02-23 01:50:18 +01:00
Hugo Locurcio
f781571d07
Add keywords to improve search in the class reference 2024-02-22 16:16:49 +01:00
Micky
f9a758772a Update many Deprecated/Experimental descriptions for consistency 2024-02-17 21:33:12 +01:00
Michael Alexsander
7b42c24550
Make auto translation inheritable 2024-02-15 16:51:19 -03:00
Danil Alexeev
af28f87791
Documentation: Add support for deprecated/experimental messages 2024-02-15 15:59:50 +03:00
kit
d24d73ba31 Make mouse-enter/exit notifications match mouse event propagation
`NOTIFICATION_MOUSE_ENTER` and `NOTIFICATION_MOUSE_EXIT` now includes
the areas of children control nodes if the mouse filters allow it.

In order to check if a Control node itself was entered/exited, the newly
introduced `NOTIFICATION_MOUSE_ENTER_SELF` and
`NOTIFICATION_MOUSE_EXIT_SELF` can be used.

Co-authored-by: Markus Sauermann <6299227+Sauermann@users.noreply.github.com>
2023-11-09 09:11:59 -05:00
A Thousand Ships
44f62a4f97 Clarify NOTIFICATION_SCROLL_BEGIN/END behavior
Documents that these notifications are only sent for touch events.
2023-10-19 22:33:57 +02:00
Yuri Sizov
cc0eebd9d8 Validate code tags for class and member references
This commit also adds means to manually disable warnings
in `code` tags where it's a false positive with the new
`skip-lint` attribute.

Warnings are now enabled on CI to prevent future errors.
2023-10-03 15:48:31 +02:00