Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImGui.InputText missing callback parameter. #85

Open
jacob-herrera opened this issue Oct 2, 2024 · 1 comment
Open

ImGui.InputText missing callback parameter. #85

jacob-herrera opened this issue Oct 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jacob-herrera
Copy link

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.

@pkdawson pkdawson added the enhancement New feature or request label Oct 3, 2024
@pkdawson
Copy link
Owner

pkdawson commented Oct 3, 2024

or is this feature not implemented yet

Right, nothing with callbacks has GDScript bindings yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants