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

Column Function Error in GDScript #90

Open
rakzin opened this issue Oct 26, 2024 · 2 comments
Open

Column Function Error in GDScript #90

rakzin opened this issue Oct 26, 2024 · 2 comments

Comments

@rakzin
Copy link

rakzin commented Oct 26, 2024

When using ImGui.Columns(3)

It will throw an error

SCRIPT ERROR: Parse Error: Too many arguments for "Columns()" call. Expected at most 0 
but received 1.

Using Table works fine.

@pkdawson
Copy link
Owner

Try ImGui.ColumnsEx. Due to the way the bindings are generated, some things that were one function in C++ are multiple functions in GDScript.

https://github.com/pkdawson/imgui-godot/wiki/GDScript

@rakzin
Copy link
Author

rakzin commented Oct 27, 2024

Got it, I did not found the document, and just follow the cpp_demo of imgui.

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

No branches or pull requests

2 participants