Feature request: Transparent window or even transparent + shaped
See original GitHub issueA long ago I saw LiLi USB creator and its Window kind of surprised me. Not only it’s transparent, it’s based on a bitmap(or at least another type of image) too. Since then it kind of bugs me how to make it - now with Kivy, but still no success. However I found some scraps, that may help someone who would like to code it.
On irc @dessant pointed me to these links wiki.libsdl.org, SDL-mirror
LiLi provides a portable package, where is its source available. In Graphics.au3
you can see that the guy uses Win32API, which probably isn’t desired when there is sdl2 and still a little bit of pygame present with Android, but it may give you a picture what it is exactly. This type of Window might drag new users to Kivy if it’d be at least on these commercial platforms such as Windows and Mac.
Links:
- C++ Semi-Transparent Window SDL
- Transparent SDL2 Game
- Background from OS in Window
- Transparent window background
- SDL transparent Window - this one kind of tells me that it may not be possible with sdl2
- SDL transparent primary surface (main window) - however this seems to be promising
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:9 (4 by maintainers)
Top GitHub Comments
To make a window transparent in windows (the whole - not the background) you need to use the win32 api. The code for this would be as follows:
That said, doing a PR is no fun if
However: I am also not capable of doing it because I am not familiar with the kivy code.
I found no way to make the background transparent and allowing custom shapes as windows
Closed by #5252