Python Forum
Transparent window background, but not text on it
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transparent window background, but not text on it
#1
I'm fairly new (or at least inexperienced) with Python, and this is the first project where I am trying to make a GUI.

What I am trying to accomplish is a window with no title bar that is semi transparent, say like 30% transparent. I have accomplished this with no issue, using both pysimplegui and tkinter. The problem that I am running into is that anything else (such as text) that I add to the window is also transparent. I don't want that. JUST a transparent background. Is this possible?

Any help would be much appreciated.
Reply


Messages In This Thread
Transparent window background, but not text on it - by muzicman0 - Jul-01-2023, 03:53 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Interaction between Matplotlib window, Python prompt and TKinter window NorbertMoussy 3 745 Mar-17-2024, 09:37 AM
Last Post: deanhystad
  [Tkinter] COMPLEX! Transparent Canvas Linux AceScottie 7 2,010 Jun-21-2023, 06:44 PM
Last Post: AceScottie
  [PyQt] Hover over highlighted text and open popup window DrakeSoft 2 1,636 Oct-29-2022, 04:30 PM
Last Post: DrakeSoft
  [Tkinter] Transparent Canvas finndude 8 10,471 Oct-02-2022, 01:48 PM
Last Post: joe_momma
  win32gui not transparent a color, just transparent all the wwindow DQT 0 1,159 Jul-29-2022, 01:40 PM
Last Post: DQT
  [Tkinter] Background inactivity timer when tkinter window is not active DBox 4 3,025 Apr-16-2022, 04:04 PM
Last Post: DBox
  [Tkinter] Not able to get image as background in a Toplevel window finndude 4 4,040 Jan-07-2022, 10:10 PM
Last Post: finndude
Photo Tkinter TEXT background image _ShevaKadu 5 7,939 Nov-02-2020, 10:34 AM
Last Post: joe_momma
  [Tkinter] How to show text in window? wxnerd 4 3,851 Jun-20-2020, 04:16 PM
Last Post: wxnerd
  Make Label Text background (default color) transparent using tkinter in python barry76 1 24,170 Nov-28-2019, 10:19 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020