Josh Anthony
4b0772fd5d
update messaging for focus to be less keyboard-specific
...
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-10-04 08:53:28 -05:00
Rémi Verschelde
166df0896c
Fix typos with codespell
...
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-30 14:23:36 +02:00
Michael Alexsander
c4c9e41073
Make Vector2i
values paired with EDSCALE
be just Vector2
2022-09-08 14:46:32 -03:00
kobewi
188d5593e1
Mention that grab_focus is more reliable deferred
2022-08-30 14:20:43 +02:00
Rémi Verschelde
e60086f98b
Merge pull request #64119 from YuriSizov/theme-init-database
2022-08-29 14:02:21 +02:00
Micky
ef5b9a06a9
Rename hint_tooltip
to tooltip_text
& setget
...
`hint_tooltip` -> `tooltip_text`
`set_tooltip` -> `set_tooltip_text`
`_get_tooltip` -> `get_tooltip_text`
Updates documentation, too.
2022-08-27 01:35:01 +02:00
Yuri Sizov
6320a0fc18
Add ThemeDB, expose previously static Theme methods
2022-08-26 19:23:05 +03:00
Aaron Record
74eb2a70bd
Refactor and remove excessive calls of NOTIFICATION_THEME_CHANGED
2022-08-25 14:50:49 -06:00
kobewi
8be27dc59e
Replace Array return types with TypedArray
2022-08-22 22:42:36 +02:00
Andy Maloney
d32803fdd6
[doc] Use "param" instead of "code" to refer to parameters (7)
2022-08-12 13:19:48 -04:00
Yuri Sizov
c5d7115038
Rename the argument tag to param in XML documentation
2022-08-08 22:34:31 +03:00
FireForge
97dfbea6ad
Rename Control PRESET_WIDE to PRESET_FULL_RECT
2022-07-18 20:08:11 -05:00
Pierre-Thomas Meisels
5ad1a1b5e7
enhancement: rename exposed property Control::minimum_size to Control::custom_minimum_size
2022-06-23 18:06:10 +02:00
Rémi Verschelde
3aa83a0235
Merge pull request #61020 from timothyqiu/wait-busy
2022-05-19 15:41:41 +02:00
Gilles Roudière
6db8b7616d
Keep input event as unhandled if they go through a control set to MOUSE_FILTER_PASS
2022-05-17 15:41:58 +02:00
Haoyu Qiu
ffd5362187
Swap the meaning of CURSOR_WAIT and CURSOR_BUSY
2022-05-14 10:13:42 +08:00
Rémi Verschelde
ac4e322ac8
Merge pull request #60472 from KoBeWi/dragging_rights
2022-04-25 16:56:57 +02:00
kobewi
31a23ab33f
Improve descriptions for drag methods
2022-04-24 20:41:00 +02:00
bruvzg
be611c1c05
Implement Label3D node.
...
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-04-22 12:08:46 +03:00
Markus Sauermann
0494e024d8
Rename warp mouse functions to warp_mouse
2022-03-27 14:12:01 +02:00
kobewi
bcf13dc175
Expose methods for screen-space transforms
2022-03-13 16:05:08 +01:00
Marcel Admiraal
507f72db8e
Rename Control's Rect properties to exclude rect_ part
2022-03-08 16:30:35 +00:00
Hugo Locurcio
b68dd2e189
Add an XML schema for documentation
...
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-15 00:03:31 +01:00
Yuri Sizov
107b6f299c
Reorganize inspector layout workflow for Control nodes
2022-02-10 20:29:34 +03:00
Gilles Roudière
73e784de1e
Remove get_focus_owner() from Control, replaced by get_viewport()->gui_get_focus_owner()
2022-02-03 11:59:32 +01:00
kobewi
4eec0032ea
Improve description of mouse_exited signal
2022-01-12 12:49:21 +01:00
kobewi
2cad775461
Fix usage of "Return" in the docs
2022-01-02 21:09:18 +01:00
kobewi
7d5ee8f694
Document get_minimum_size not called in some nodes
2021-12-14 17:48:07 +01:00
kobewi
ea7cc1dea9
Rename minimum_size_changed() method
2021-12-06 14:02:34 +01:00
Rémi Verschelde
76aa1d0a43
Merge pull request #55151 from Chaosus/control_reset_size
2021-11-22 16:22:57 +01:00
Yuri Roubinsky
eabf8f5edf
Added reset_size
method to Control
and Window
classes
2021-11-22 16:55:21 +03:00
Rémi Verschelde
78dbe4e3e4
Merge pull request #54339 from ConteZero/line_edit_drag_and_drop
2021-11-22 12:20:01 +01:00
ConteZero
2b1787b446
Fix drag and drop on LineEdit
2021-11-15 17:10:56 +01:00
Rémi Verschelde
6c1bd4d227
Replace Godot docs URL with $DOCS_URL
in XML class reference
2021-11-15 13:02:21 +01:00
Duroxxigar
b2458ff575
Replace remaining usages of yield with new await keyword
2021-10-22 14:28:37 -04:00
Gilles Roudière
1a95f893c4
Implement TileMap patterns palette
2021-10-19 11:57:37 +02:00
Rémi Verschelde
862994a8ef
doc: Update links to latest documentation after content reorganization
2021-10-06 13:48:48 +02:00
kobewi
6397eaa27e
Fix some leftover references to idle_frame
2021-10-04 20:57:31 +02:00
Yuri Sizov
4a42a66cd9
Add the base scale factor to the Theme resource
2021-10-04 15:25:07 +03:00
Eric M
ad30b0a8dd
Allow shortcuts to have any number of bindings. Updated UI as required.
2021-10-01 18:04:28 +10:00
skyace65
824259aca0
Add note that for _gui_input(event) event position is relative to the control origin
2021-09-21 20:47:13 -04:00
Michael Alexsander
ee4b0108e0
Make some enhancements to the POT generation
2021-09-02 11:12:54 -03:00
reduz
3682978aee
Replace BIND_VMETHOD by new GDVIRTUAL syntax
...
* New syntax is type safe.
* New syntax allows for type safe virtuals in native extensions.
* New syntax permits extremely fast calling.
Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`.
These will require API rework on a separate PR as they work different than the rest of the functions.
Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
2021-08-22 08:23:58 -03:00
Paulb23
b73983340d
Add bulk theme overrides to Control
2021-08-13 16:41:36 +01:00
Rémi Verschelde
7adf4cc9b5
doc: Use self-closing tags for return
and argument
...
For the time being we don't support writing a description for those, preferring
having all details in the method's description.
Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.
2021-07-30 15:29:52 +02:00
Michael Alexsander
94a64d557e
Add auto_translate
toggle for automatic translation
2021-07-29 18:30:34 -03:00
Hugo Locurcio
37c1cbdcb2
Document caveats with Control's mouse_entered
/mouse_exited
signals
2021-07-25 22:43:02 +02:00
Nicholas Huelin
9a72b0d3d0
Fix doc typos
...
This pull request fixes an assortment of typos and improves conciseness in `Animation`, `Area2D`, `Array`, `ArrayMesh`, `Control`, `Directory`, `EditorPlugin`, `Engine`, and `OS`.
2021-07-23 12:15:15 -04:00
Yuri Sizov
21b994ac99
Improve Control's theme item methods documentation
2021-07-14 01:26:02 +03:00
Yuri Sizov
4ee0e6ddf5
Add type variations to Theme
2021-07-13 02:26:28 +03:00