Skip to content

Anyone has idea how to create a sort of floating menu window via customtkinter? #2473

Answered by dipeshSam
Gasiro asked this question in Q&A
Discussion options

You must be logged in to vote

After setting bg_color transparent, try to enable transparency explicitly.

Like:

top = CTkToplevel(master)
top.configure(bg_color="systemTransparent")
top.attributes("-transparent", True)

Order of these two statements may matter. So, also try:

top = CTkToplevel(master)
top.attributes("-transparent", True)
top.configure(bg_color="systemTransparent")

Along with these, also make sure that no other widget is overlay on top window, if there are some, either we also need to set their background to "systemTransparent" or have some good paddings.

Regards.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@Gasiro
Comment options

@dipeshSam
Comment options

Answer selected by Gasiro
@Gasiro
Comment options

@dipeshSam
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants