Comments (7)
The thing pictured is more than just a popover: it's also a custom menu (as far as I can tell, anyway). For that, I defer to the menu feature request (I don't know what a good API for that would be; if you have any ideas let me know).
I wouldn't be able to use the native popover implementation for GTK+, but I can definitely fake one. (I would have to fake one on Windows anyway.)
Note to self: this would imply Area.OpenPopoverAt()
as well.
from ui.
I really got no knowledge in Gtk+ (except using it I mean) so I can't really point you a good API. Anyway that would be amazing, and I would like to thank you for the amazing work you provided.
from ui.
http://imgur.com/4WtPdWP Windows popovers take 1 (see windowspopover/ folder)
from ui.
Damn already ? That's amazing. Great work.
from ui.
All right, API question time
func NewPopover(owner Window, child Control) Popover
// alternatively
func (w Window) NewPopover(child Control) Popover
A Popover needs to be owned by another Window for things like modality to work properly; it can be relative to any control in that Window.
Fine with everyone here?
from ui.
Looks fine to me ^^
from ui.
Migrated to libui as andlabs/libui#5; follow that instead
from ui.
Related Issues (20)
- 希望能加入菜单和居中功能,谢谢 HOT 5
- Twitching progress bar HOT 2
- use go module
- Can you create Window center func ? HOT 1
- 有2个问题需要帮助/Two questions ask for help HOT 3
- Add Linux/ARM64 support to ‘andlabs/ui’
- how to add a new row to a table?
- Open file dialog crashes HOT 1
- ld: library not found for -lstdc++ HOT 2
- How can we fix windows size ? HOT 2
- How to remove a row from table properly HOT 1
- Avoid cgo HOT 2
- Cross-compilation on Linux for Windows HOT 1
- System notification message
- Reopen a closed window
- Is this project still alive? HOT 2
- collect2.exe: error: ld returned 1 exit status
- Win10下gocv+andlabs/ui同时使用出现以下错误
- possible to use ui load a webview to load html/js/css or remote url as ui HOT 1
- 如何在ui中嵌入式一个浏览器窗口
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui.