Skip to content

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

@Rfaelv

Description

@Rfaelv

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions