summaryrefslogtreecommitdiff
path: root/doc/classes/Control.xml
AgeCommit message (Collapse)Author
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
2020-10-01Link to demos from within the class referenceAaron Franke
2020-09-26Translate GDScript Code Examples to C# (C)HaSa1002
Translates Code Examples in classes beginning with `C`. Includes: * Callable * CanvasItem * CharFXTransform * Color * ColorRect * ConfigFile * ConfirmationDialog * Control * Crypto
2020-08-31Add link titles for all links in the class referenceHugo Locurcio
This makes them display in a nicer way in the editor help. (The title will display instead of the full URL.)
2020-08-04Improve the documentation related to overriding GUI theme itemsHugo Locurcio
Overriding theme items is a common point of confusion. Hopefully, these code samples should clear things up.
2020-07-15Document caveats related to Control scalingHugo Locurcio
This is a common topic of confusion. Clarifying its intended scope should make things easier to understand.
2020-04-10Improve shortcut formatting in docsYuri Sizov
2020-04-09Clarify documentation and indicate that rect_clip_content affects only ↵Markus Sauermann
CanvasItem based nodes. Resolves #37683
2020-03-31doc: Sync classref with DisplayServer/Window changesRémi Verschelde
2020-02-22doc: Sync classref with StringName/Callable changesRémi Verschelde
2020-02-12doc: Sync classref with current sourceRémi Verschelde
Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
2020-01-31Update docs to version 4.0clayjohn
2020-01-26doc: Drop unused 'category' property from headerRémi Verschelde
We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
2020-01-10[DOCS] Corrections and clarifications to classrefChris Bradfield
2019-11-07[Doc] Added more details for set_drag_preview()Anthony Rey