pkdawson/imgui-godot

`ImGui.InputText` missing callback parameter.

Opened this issue · 1 comments

I'm trying to use the callbacks for the text input. I see the follow flags in the documentation:

● InputTextFlags_CallbackHistory = 262144
● InputTextFlags_CallbackAlways = 524288
● InputTextFlags_CallbackCharFilter = 1048576
● InputTextFlags_CallbackResize = 2097152
● InputTextFlags_CallbackEdit = 4194304

I see no way to pass in my callback in the function, nor is there a ImGui.InputTextEx function.
In the ImGui demo, the final argument is used for the callback, but this is missing for this plugin.
if (ImGui::InputText("Input", InputBuf, IM_ARRAYSIZE(InputBuf), input_text_flags, &TextEditCallbackStub, (void*)this)) from imgui_demo.cpp

Am I missing something or is this feature not implemented yet? Thanks.

or is this feature not implemented yet

Right, nothing with callbacks has GDScript bindings yet.