frang75 / nappgui_src

SDK for building cross-platform desktop apps in ANSI-C
https://www.nappgui.com
MIT License
448 stars 45 forks source link

Creating a "flyout" window #50

Closed MikeLorenz closed 3 months ago

MikeLorenz commented 1 year ago

I'm using the term "flyout" not really knowing if that's the correct word, but what I mean is a window that usually has no borders and can be closed simply by clicking outside the window bounds. Think of the the dropdown list in a ComboBox, for instance, or a popup context menu. Or if you've used a date or time picker, the picker window pops up, but if you don't want to enter anything, you can just click somewhere else and it will go away.

Is this possible to do, given the current start of NAppGUI?

frang75 commented 11 months ago

Hi @MikeLorenz! Thanks for the feedback.

I'm working in the support for "flyout" windows. It will be ready in next NAppGUI release 1.4.

Keep in contact.

frang75 commented 4 months ago

Hi @MikeLorenz! Implementation is almost finish. It will be soon available in GitHub. flyout

MikeLorenz commented 4 months ago

Wow, that looks amazing!!!

frang75 commented 4 months ago

flywin_macos flywin_linux

Documentation: https://nappgui.com/en/gui/window.html#h4 Now in GitHub: https://github.com/frang75/nappgui_src/commit/ee5c8c8d76b3604151f5d4bbea2e2f405dbfc2ed