Port
Port

Reputation: 37

Is there a way to create non-bordered transparent windows in Python?

I am trying to make a widget-style application in Python, and I have tried searching around but I have not found a GUI toolkit that allows you to hide borders and remove the window background (fully transparent, only content rendered).

Is there a Python GUI toolkit with the following features?:

Upvotes: 2

Views: 2861

Answers (2)

tangentstorm
tangentstorm

Reputation: 7295

Yes, wxpython can do this. Look at the ShapedWindow example in the Demo application (available on the download page). enter image description here

Upvotes: 3

Ken
Ken

Reputation: 756

It's been a little while since I've done things like that, but I would think that most GUI toolkits would allow you to do that. For example, GTK+ has Python bindings, and should support all of that.

Here's an example of using GTK+ to draw transparent content with GUI controls.

I have even less experience with them, but I think wxWidgets and Qt/KDE have similar functionality.

Upvotes: 1

Related Questions