-
Notifications
You must be signed in to change notification settings - Fork 31
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
Expose flags to widgets #154
Comments
The "high level" bindings are optimized for the most common case. You can use raw bindings for the extra bits, or clone existing wrappers and tweak them. |
Thank you, I might need to write things like |
Addendum: See #137 for the corresponding PR @ailrk i think a PR in the style of #137 should be no problem to merge if you need things :) |
Thanks, I'm happy to contribute once I get some spare time. |
Hey all,
I'm trying to make an inputText that returns true when an enter is hit, which requires the
ImGuiInputTextFlags_EnterReturnsTrue
flag. I notice all flags are already there, but most widgets are set with a default value instead of exposing it to the public interface, I find it is a bit limiting. Is there a reason for this? e.g for this piece:dear-imgui.hs/src/DearImGui.hs
Lines 1216 to 1224 in 7795b3d
Can we expose the flag as an option to the user like this?
The text was updated successfully, but these errors were encountered: