summaryrefslogtreecommitdiffstats
path: root/doc/classes/Control.xml
Commit message (Collapse)AuthorAgeFilesLines
* Implement TileMap patterns paletteGilles Roudière2021-10-191-3/+3
|
* doc: Update links to latest documentation after content reorganizationRémi Verschelde2021-10-061-1/+1
|
* Fix some leftover references to idle_framekobewi2021-10-041-1/+1
|
* Add the base scale factor to the Theme resourceYuri Sizov2021-10-041-0/+21
|
* Allow shortcuts to have any number of bindings. Updated UI as required.Eric M2021-10-011-3/+3
|
* Add note that for _gui_input(event) event position is relative to the ↵skyace652021-09-211-0/+1
| | | | control origin
* Make some enhancements to the POT generationMichael Alexsander2021-09-021-1/+2
|
* Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz2021-08-221-11/+11
| | | | | | | | | | | * 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.
* Add bulk theme overrides to ControlPaulb232021-08-131-0/+12
|
* doc: Use self-closing tags for `return` and `argument`Rémi Verschelde2021-07-301-348/+174
| | | | | | | | 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.
* Add `auto_translate` toggle for automatic translationMichael Alexsander2021-07-291-0/+3
|
* Document caveats with Control's `mouse_entered`/`mouse_exited` signalsHugo Locurcio2021-07-251-0/+2
|
* Fix doc typosNicholas Huelin2021-07-231-6/+6
| | | | This pull request fixes an assortment of typos and improves conciseness in `Animation`, `Area2D`, `Array`, `ArrayMesh`, `Control`, `Directory`, `EditorPlugin`, `Engine`, and `OS`.
* Improve Control's theme item methods documentationYuri Sizov2021-07-141-45/+77
|
* Add type variations to ThemeYuri Sizov2021-07-131-2/+3
|
* Fix editor suffixes and degrees conversionreduz2021-06-301-3/+0
| | | | | | | | | | | | | * Functions to convert to/from degrees are all gone. Conversion is done by the editor. * Use PROPERTY_HINT_ANGLE instead of PROPERTY_HINT_RANGE to edit radian angles in degrees. * Added possibility to add suffixes to range properties, use "min,max[,step][,suffix:<something>]" example "0,100,1,suffix:m" * In general, can add suffixes for EditorSpinSlider Not covered by this PR, will have to be addressed by future ones: * Ability to switch radians/degrees in the inspector for angle properties (if actually wanted). * Animations previously made will most likely break, need to add a way to make old ones compatible. * Only added a "px" suffix to 2D position and a "m" one to 3D position, someone needs to go through the rest of the engine and add all remaining suffixes. * Likely also need to track down usage of EditorSpinSlider outside properties to add suffixes to it too.
* Implement native extension systemreduz2021-06-251-2/+2
| | | | | | * Deprecates GDNative in favor of a simpler, lower level interface. * New extension system allows registering core engine classes. * Simple header interface in gdnative_interace.h
* Remove clips_input() method and use clip_contentkobewi2021-06-251-10/+2
|
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-3/+3
|
* Better format arguments in variant parserMichael Alexsander Silva Dias2021-06-181-7/+7
|
* Consistently prefix bound virtual methods with _kobewi2021-06-121-103/+103
|
* Let var2str display StringName with correct sigilJonathan Gollnick2021-06-101-1/+1
|
* Style: Cleanup uses of double spaces between wordsRémi Verschelde2021-06-071-2/+2
| | | | | Or after punctuation. Tried to leave third-party stuff alone, unless it has been heavily modified for Godot.
* Add theme_custom_type property to Control and WindowYuri Sizov2021-05-171-25/+30
|
* Merge pull request #47252 from KoBeWi/themecideRémi Verschelde2021-03-311-6/+59
|\ | | | | Add methods to remove theme overrides
| * Remove the clearing behavior from add_overridekobewi2021-03-231-5/+5
| |
| * Add methods to remove theme overrideskobewi2021-03-231-1/+54
| |
* | Rename ButtonList enum and members to MouseButtonAaron Franke2021-03-231-1/+1
|/
* Fix crash during drag if user freed the drag previewDelf Neumärker2021-02-241-1/+1
|
* Merge pull request #45137 from Calinou/doc-control-galleryRémi Verschelde2021-02-011-1/+2
|\ | | | | Reference the control gallery image in the Control class documentation
| * Reference the control gallery image in the Control class documentationHugo Locurcio2021-01-291-1/+2
| | | | | | | | | | Like the Tween cheatsheet or Color constants cheatsheet, this references a "cheatsheet" image from the documentation repository.
* | Exposed find_next_valid_focus and find_prev_valid_focus.Nils Reid2021-01-261-0/+14
|/
* doc: Sync classref with current sourceRémi Verschelde2021-01-041-35/+15
|
* Merge pull request #44751 from madmiraal/rename-rect-grow_marginRémi Verschelde2020-12-281-4/+4
|\ | | | | Rename Rect2 and Rect2i grow_margin() to grow_side()
| * Rename Rect2 and Rect2i grow_margin() to grow_side()Marcel Admiraal2020-12-281-4/+4
| |
* | Merge pull request #44607 from madmiraal/rename-control-rotationRémi Verschelde2020-12-281-17/+4
|\ \ | |/ |/| Rename Control rotation to rotation_degrees
| * Rename Control rotation to rotation_degreesMarcel Admiraal2020-12-231-17/+4
| |
* | Rename Control margin to offsetMarcel Admiraal2020-12-231-51/+51
|/
* Rename neighbour in Control to neighborDaniel Ting2020-12-151-10/+10
| | | | | This keeps things consistent with the rest of Godot, which uses the American English spelling of Color.
* [Complex Text Layouts] Add TextServer documentation. Update Font, ↵bruvzg2020-11-261-10/+123
| | | | CanvasItem, Theme and modified controls documentation.
* Merge pull request #42008 from Calinou/theme-rename-node-typeRémi Verschelde2020-11-161-10/+10
|\ | | | | Rename the `type` parameter to `node_type` in Theme and Control
| * Rename the `type` parameter to `node_type` in Theme and ControlHugo Locurcio2020-10-271-10/+10
| | | | | | | | | | | | | | This makes it clearer that it expects a node type as a string (such as "Label") instead of a type like "TYPE_ARRAY". This is backwards-compatible since only the name of the parameter is changed, not its order.
* | Tooltips: Improve code clarity and docsRémi Verschelde2020-11-031-9/+30
|/ | | | | | | | | | | | | | 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.
* Updated getters and setters names for toplevelDuroxxigar2020-10-021-1/+1
|
* Link to demos from within the class referenceAaron Franke2020-10-011-0/+1
|
* Translate GDScript Code Examples to C# (C)HaSa10022020-09-261-31/+186
| | | | | | | | | | | | | | | Translates Code Examples in classes beginning with `C`. Includes: * Callable * CanvasItem * CharFXTransform * Color * ColorRect * ConfigFile * ConfirmationDialog * Control * Crypto
* Add link titles for all links in the class referenceHugo Locurcio2020-08-311-2/+2
| | | | | This makes them display in a nicer way in the editor help. (The title will display instead of the full URL.)
* Improve the documentation related to overriding GUI theme itemsHugo Locurcio2020-08-041-5/+29
| | | | | Overriding theme items is a common point of confusion. Hopefully, these code samples should clear things up.
* Document caveats related to Control scalingHugo Locurcio2020-07-151-1/+3
| | | | | This is a common topic of confusion. Clarifying its intended scope should make things easier to understand.
* Improve shortcut formatting in docsYuri Sizov2020-04-101-2/+2
|