Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dynamic creation of window elements/widgets during runtime #74

Closed
eriklins opened this issue Nov 20, 2023 · 4 comments
Closed

Add dynamic creation of window elements/widgets during runtime #74

eriklins opened this issue Nov 20, 2023 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request work-in-progress We are working on this issue

Comments

@eriklins
Copy link

I learned that an application window cannot be modified during runtime of an application with NAppGUI. All windows elements/widgets need to be created on app start. However, there exist use-cases where window elements/widgets need to be created during runtime. An example would be my InsideBlue BLE Tool, which does e.g., scan for BLE devices and creates a panel for each discovered BLE device with device specific information. I would consider this as a very useful enhancement of NAppGUI and hope it could get into one of the next feature updates. Would love to use NAppGUI for my next version (actually rewrite) of InsideBlue.

@frang75 frang75 self-assigned this Nov 20, 2023
@frang75 frang75 added the enhancement New feature or request label Nov 20, 2023
@frang75
Copy link
Owner

frang75 commented Nov 20, 2023

Hi @eriklins!
Thank you very much for the feedback. Indeed, having Dynamic-Layouts will solve this case with Inside-Blue. I make a note to get on with it as soon as NAppGUI 1.4 is released.
Regards!

@frang75
Copy link
Owner

frang75 commented Jan 5, 2024

Related with
#18

@frang75 frang75 added documentation Improvements or additions to documentation work-in-progress We are working on this issue labels Jan 10, 2024
@frang75
Copy link
Owner

frang75 commented Jan 28, 2024

WIP. Alpha version for testing in a separate branch
https://github.com/frang75/nappgui_src/tree/dynlay
dynlay_full

@frang75
Copy link
Owner

frang75 commented Feb 20, 2024

This feature is implemented in this commit: 1b6d902

Documentation: https://nappgui.com/en/gui/layout.html#h6

@frang75 frang75 closed this as completed Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request work-in-progress We are working on this issue
Projects
None yet
Development

No branches or pull requests

2 participants