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

[Question] How would i clear an layoutContainer #161

Open
thatrandomperson5 opened this issue Jan 4, 2023 · 1 comment
Open

[Question] How would i clear an layoutContainer #161

thatrandomperson5 opened this issue Jan 4, 2023 · 1 comment

Comments

@thatrandomperson5
Copy link

thatrandomperson5 commented Jan 4, 2023

I want to clear and then set a large amount of items into the layoutContainer while only updating the screen once. I was using textArea before but found it ugly. Also, does layoutContainer scroll if it fills to much? Is there already a different "Fancy list" container?

@simonkrauter
Copy link
Owner

So far there is no function to clear all items of a container or to disable screen updates. I think on Windows it could be implemented by using SendMessage(Handle, WM_SETREDRAW, WPARAM(False), 0);. For Gtk I found no equivalent.

The widget containers automatically provide scrollbars when the minimum size of the child widgets do not fit inside.

Lists are so far missing in NiGui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants