andlabs / ui

Platform-native GUI library for Go.
Other
8.34k stars 648 forks source link

Adds compatibility for latest libui #169

Open emersion opened 8 years ago

emersion commented 8 years ago

Do not merge before a new release of libui is out.

Contributors: you can make pull requests to https://github.com/ProtonMail/ui/tree/latest-libui

mainrs commented 8 years ago

Is it possible to use this pull request for my go get so I can use the Center option of Window?

emersion commented 8 years ago

If you use Glide, you can just change repo in glide.yml. Otherwise, you can change all your imports from github.com/andlabs/ui to github.com/ProtonMail/ui.

andlabs commented 8 years ago

The fate of uiWindowCenter() is uncertain. (If there's a correct way to write it in GTK+ that works regardless of whether the window was ever shown at all in the past, then it will stay.)