This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" Transparent, irregular edge splash screen with pyGTK and XShape. | |
Takes a png image with transparent section, creates a window with pyGTK, puts this image in | |
there with cairo and then trims the edges with X11 XShape clipping extension. | |
This file demonstrates a python script which loads a png image of size 800x650 and name base.png | |
Then it creates a GTK+/Cairo window with opaque settings from the png file and the transparent | |
portions cut out with a mask. Basic, but works and looks great. | |
Note: this is a proof of concept file. It works, but it is by no means production ready. | |
""" |