Skip to content

Does LibUI.window_set_position(main_window, 2, 2) not work or am I too dumb - or both at the same time? #97

Description

@rubyFeedback

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions