andlabs / andlabs/libui

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

Ouverte
#533 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C
Étoiles
10.9k
Forks
612
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.