godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.97k stars 20.18k forks source link

Drag forwarding methods not available in autocompletion and documentation #48726

Closed timothyqiu closed 1 week ago

timothyqiu commented 3 years ago

Godot version: master(6054feb) / 3.x(7417467) / 3.3

OS/device including version: not graphics-related

Issue description:

When set_drag_forwarding is set on a Control node, the forward owner's get_drag_data_fw, can_drop_data_fw, and drop_data_fw are used instead of the control's non-postfixed ones.

Steps to reproduce:

Minimal reproduction project: N/A

timothyqiu commented 2 years ago

To anyone interested in solving this: set_drag_forwarding() takes any Object. But binding these forwarding methods to Object seems an overkill. See discussion in #60558.

HolonProduction commented 1 week ago

Can we close this? set_drag_forwarding does take callables now, so while we still do not provide completion, we just can't since there is no fixed name.