summaryrefslogtreecommitdiff
path: root/doc/classes/Callable.xml
AgeCommit message (Collapse)Author
2023-01-10Fix Callable call error reporting.Juan Linietsky
* Fix potential crash when using bind in `Variant::get_callable_error_text()` * Properly compute bound arguments so they can be properly shown. * Add a function to obtain the actual bound arguments.
2023-01-09Merge pull request #70996 from reduz/properly-report-callable-bound-argumentsRémi Verschelde
Properly report Callable bound arguments
2023-01-08Properly report Callable bound argumentsJuan Linietsky
Fixes #63213 Adds a function: Callable::get_amount_of_arguments_bound() to query this in callables. Exposed to the engine API.
2023-01-06Allow binding Callable arguments from an arrayJuan Linietsky
Restores 3.x functionality that was removed in the Signal/Callable refactor of 4.0. Fixes #64668. Implements https://github.com/godotengine/godot-proposals/issues/6034 Usage: ```GDScript callable.bindv([arg1,arg2,arg3]) ```
2022-11-23Tweak Callable's documentationMicky
- Clarify that Callable is a Variant type, not an Object. - Add lambda function example - Update outdated description of `is_custom` and `is_valid`-
2022-09-21Callable: add callv methodRicardo Buring
This method can be called from GDExtension.
2022-08-30Mention that grab_focus is more reliable deferredkobewi
2022-08-12[doc] Use "param" instead of "code" to refer to parameters (7)Andy Maloney
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-03-14Remove generating of null comparison operators from documentationYuri Roubinsky
2022-02-15Add an XML schema for documentationHugo Locurcio
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-12Clarify identical `hash()` return values due to collisionsHugo Locurcio
2021-10-29Move the docs for constructors and operators out of methods sectionAaron Franke
2021-09-20Don't generate empty doc sections and reduce code duplicationAaron Franke
2021-09-17Allow comparing equality between builtin types and nullGeorge Marques
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-01Add Callable.is_valid() analogous to FuncRef.is_valid() from 3.xLyuma
2021-05-03Add RPC to Callablereduz
-Up to each scripting language to implement this -If not supported for the function, it will just error when you try to call
2021-03-18doc: Sync classref with current sourceRémi Verschelde
And move GLTF docs to its module folder.
2021-03-02Fix examples in Callable docskleonc
2021-03-01Document missing Callable methodsHaSa1002
* Callable.hash() * Callable.is_custom() * Callable.is_null() * Callable.is_standard() * Callable.bind() * Callable.unbind() * Callable::operator== * Callable::operator!= Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-11-10doc: Sync classref to add operators after #43419Rémi Verschelde
2020-11-09Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
2020-11-04doc: Sync classref with current source + fixup some bindingsRémi Verschelde
Includes various changes triggered by the refactoring of method bindings.
2020-10-12doc: Sync classref with current sourceRémi Verschelde
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-03-13Add LOTS of missing docsTomasz Chabora
2020-02-22doc: Sync classref with StringName/Callable changesRémi Verschelde