summaryrefslogtreecommitdiff
path: root/doc/classes/Control.xml
AgeCommit message (Collapse)Author
2021-11-22Merge pull request #55151 from Chaosus/control_reset_sizeRémi Verschelde
2021-11-22Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky
2021-11-22Merge pull request #54339 from ConteZero/line_edit_drag_and_dropRémi Verschelde
2021-11-15Fix drag and drop on LineEditConteZero
2021-11-15Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde
2021-10-22Replace remaining usages of yield with new await keywordDuroxxigar
2021-10-19Implement TileMap patterns paletteGilles Roudière
2021-10-06doc: Update links to latest documentation after content reorganizationRémi Verschelde
2021-10-04Fix some leftover references to idle_framekobewi
2021-10-04Add the base scale factor to the Theme resourceYuri Sizov
2021-10-01Allow shortcuts to have any number of bindings. Updated UI as required.Eric M
2021-09-21Add note that for _gui_input(event) event position is relative to the ↵skyace65
control origin
2021-09-02Make some enhancements to the POT generationMichael Alexsander
2021-08-22Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz
* 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-13Add bulk theme overrides to ControlPaulb23
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
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-29Add `auto_translate` toggle for automatic translationMichael Alexsander
2021-07-25Document caveats with Control's `mouse_entered`/`mouse_exited` signalsHugo Locurcio
2021-07-23Fix doc typosNicholas Huelin
This pull request fixes an assortment of typos and improves conciseness in `Animation`, `Area2D`, `Array`, `ArrayMesh`, `Control`, `Directory`, `EditorPlugin`, `Engine`, and `OS`.
2021-07-14Improve Control's theme item methods documentationYuri Sizov
2021-07-13Add type variations to ThemeYuri Sizov
2021-06-30Fix editor suffixes and degrees conversionreduz
* 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.
2021-06-25Implement native extension systemreduz
* 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
2021-06-25Remove clips_input() method and use clip_contentkobewi
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
2021-06-18Better format arguments in variant parserMichael Alexsander Silva Dias
2021-06-12Consistently prefix bound virtual methods with _kobewi
2021-06-10Let var2str display StringName with correct sigilJonathan Gollnick
2021-06-07Style: Cleanup uses of double spaces between wordsRémi Verschelde
Or after punctuation. Tried to leave third-party stuff alone, unless it has been heavily modified for Godot.
2021-05-17Add theme_custom_type property to Control and WindowYuri Sizov
2021-03-31Merge pull request #47252 from KoBeWi/themecideRémi Verschelde
Add methods to remove theme overrides
2021-03-23Rename ButtonList enum and members to MouseButtonAaron Franke
2021-03-23Remove the clearing behavior from add_overridekobewi
2021-03-23Add methods to remove theme overrideskobewi
2021-02-24Fix crash during drag if user freed the drag previewDelf Neumärker
2021-02-01Merge pull request #45137 from Calinou/doc-control-galleryRémi Verschelde
Reference the control gallery image in the Control class documentation
2021-01-29Reference the control gallery image in the Control class documentationHugo Locurcio
Like the Tween cheatsheet or Color constants cheatsheet, this references a "cheatsheet" image from the documentation repository.
2021-01-26Exposed find_next_valid_focus and find_prev_valid_focus.Nils Reid
2021-01-04doc: Sync classref with current sourceRémi Verschelde
2020-12-28Merge pull request #44751 from madmiraal/rename-rect-grow_marginRémi Verschelde
Rename Rect2 and Rect2i grow_margin() to grow_side()
2020-12-28Merge pull request #44607 from madmiraal/rename-control-rotationRémi Verschelde
Rename Control rotation to rotation_degrees
2020-12-28Rename Rect2 and Rect2i grow_margin() to grow_side()Marcel Admiraal
2020-12-23Rename Control rotation to rotation_degreesMarcel Admiraal
2020-12-23Rename Control margin to offsetMarcel Admiraal
2020-12-15Rename neighbour in Control to neighborDaniel Ting
This keeps things consistent with the rest of Godot, which uses the American English spelling of Color.
2020-11-26[Complex Text Layouts] Add TextServer documentation. Update Font, ↵bruvzg
CanvasItem, Theme and modified controls documentation.
2020-11-16Merge pull request #42008 from Calinou/theme-rename-node-typeRémi Verschelde
Rename the `type` parameter to `node_type` in Theme and Control
2020-11-03Tooltips: Improve code clarity and docsRémi Verschelde
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-10-27Rename the `type` parameter to `node_type` in Theme and ControlHugo Locurcio
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.
2020-10-02Updated getters and setters names for toplevelDuroxxigar