Transparent canvas in tkinter python
Asked Answered
M

1

1

I need to have the canvas to be transparent and sit in front of buttons, labels ect (Making the idea of just using a canvas background impracticable). So when the user draws stuff, it will appear over all of the widgets.

At this point it's being clear that this may be impossible. So given the problem I have can someone either suggest a library, or maybe I missed something?

Cheers.

Mythopoeia answered 30/6, 2013 at 16:17 Comment(0)
V
1

Making the Canvas transparent is not possible (as already said here) but you can try with wxPython.

Otherwise, I suggest that you create two canvases: one with the widgets and one with a background image that fakes the widgets. Then you could just show the frame that you want to use and hide the other (using the option state=HIDDEN). But that would make the widgets unusable while you are drawing. I can't come up with a better solution.

Voroshilov answered 18/11, 2013 at 17:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.