How can we make LibUI.window_set_position(main_window, 2, 2) work? #98
rubyFeedback
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems that this line does not work:
https://github.com/kojix2/LibUI/blob/main/examples2/window.rb#L110
I get a segfault instead if I leave it not commented out.
Should it not instead move the window to the specified position, according
to this documentation here:
https://libui.dev/structui_window.html#ac93ed7a6f98734d86caa411eee4f84a6
Edit: Interestingly I tried with python-libui just now, and it has no such SetPosition
function either. I am still confused why it is mentioned in the API reference though.
Beta Was this translation helpful? Give feedback.
All reactions