andlabs / andlabs/libui

[Feature request] .move() the main window/widget in a cross-platform manner

Đang mở
#533 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
10.9k
Fork
612
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

In the event someone may want to add more features ... :)

If this is already possible then please excuse the feature request - I looked at
https://raw.githubusercontent.com/andlabs/libui/master/unix/window.c at the least
but could not find it. Perhaps it is implemented somewhere else, or missing.

I would like to have the ability to .move() on widgets. I am used to this on
ruby-gtk, in particular to position the window on the top left corner of the
screen consistently. (I am aware that alternative models exist such as
re-opening from the closed position, but I love starting from the top left
for my own widgets, so I would like to have this functionality as well.)

I believe this should work cross-platform since it is basic functionality,
but I'd be perfectly happy if it is first added to linux only. :P

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.