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

Not able to keep a child window with a CTKScrollableDropdown element in front of the parent window #49

Open
Rfaelv opened this issue Aug 13, 2024 · 0 comments

Comments

@Rfaelv
Copy link

Rfaelv commented Aug 13, 2024

Hello,

To keep my child windows in front of my parent window I use the following lines in my child window class:
self.grab_set() # hijack all commands from the master (clicks on the main window are ignored)
self.master.wait_window(self) # pause anything on the main window until this one closes

This works fine, except when I add the CTkScrollableDropdown in my child window. Two problems happens:

  • The clicks on the main window are ignored, but the child window goes to the back of the parent window when started.
  • The clicks on the ScrollableDropdown are ignored.

Could anyone help me with this issue?

@Rfaelv Rfaelv changed the title Not able to keep a child window with the CTKScrollableDropdown in front of the parent window Not able to keep a child window with a CTKScrollableDropdown element in front of the parent window Aug 13, 2024
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

1 participant