Closed timothyqiu closed 1 week 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.
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.
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 aControl
node, the forward owner'sget_drag_data_fw
,can_drop_data_fw
, anddrop_data_fw
are used instead of the control's non-postfixed ones.Control
. They are only mentioned in the documentation ofset_drag_forwarding
._fw
postfix and extra argument. This becomes quite a lot of work when type hints are used.Steps to reproduce:
get_drag_data_fw
.get_drag_data_fw
in help.Minimal reproduction project: N/A