Yep, the wx.SplashScreen does not try to shape the window to anything other than the rectangle of the image.
By accident (putting another picture in the splashscreen ),
I discovered that's very well possible to create a shaped splashscreen,
with the standard splashscreen,
see attachment.
But I've no idea what the requirements for the image are 
I only added the style parameter in the SplashScreen, to get rid of the border of the window.
class My_App(wx.App):
def OnInit(self):
bmp = wx.Image ('Vippi_Bricks.png', wx.BITMAP_TYPE_ANY).ConvertToBitmap()
wx.SplashScreen ( bmp,
wx.SPLASH_CENTRE_ON_SCREEN | wx.SPLASH_TIMEOUT,
10000, None,
style = wx.NO_BORDER | wx.SIMPLE_BORDER | wx.STAY_ON_TOP )
wx.Yield ()
return True
I also tried AdvancedSplash from Andrea,
which looks really awfull, but ...
In what way?
- Shaped splashscreens ( ok we can do now with normal splashscreen too)
- nice way to set transparency, even if there's no transparency layer
- scrolling text during the splash showing ( I now looked into the code and I think it's delaying everything, so after all not so nice)
cheers,
Stef
Hi Stef,
>> I also tried AdvancedSplash from Andrea,
>> which looks really awfull, but ...
>
> In what way?
- Shaped splashscreens ( ok we can do now with normal splashscreen too)
- nice way to set transparency, even if there's no transparency layer
- scrolling text during the splash showing ( I now looked into the code
and I think it's delaying everything, so after all not so nice)
Uhm, usually "awful" means something bad/ugly/annoying/boring, so it's
not very clear to me what you intended...
Anyway, I have never used the scrolling text feature of AdvncedSplash,
and it's been a while since I looked at the source code, but I use
AdvancedSplash for all my applications which require more than 2
seconds to load (usually because of matplotlib/numpy/scipy
dependencies).
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
路路路
On Nov 18, 2007 12:11 PM, Stef Mientki wrote:
hi Andrea,
Andrea Gavana wrote:
Hi Stef,
I also tried AdvancedSplash from Andrea,
which looks really awfull, but ...
In what way?
- Shaped splashscreens ( ok we can do now with normal splashscreen too)
- nice way to set transparency, even if there's no transparency layer
- scrolling text during the splash showing ( I now looked into the code
and I think it's delaying everything, so after all not so nice)
Uhm, usually "awful" means something bad/ugly/annoying/boring, so it's
not very clear to me what you intended...
Well my English isn't too well, but I thought awful was one of those English words,
that can mean exactly the opposite ?
But let me phrase it in simple words: I found your AdvancedSplashScreen really nice and cool.
thanks,
Stef
路路路
On Nov 18, 2007 12:11 PM, Stef Mientki wrote:
awesome, or awe-inspiring
Karsten
路路路
On Sun, Nov 18, 2007 at 01:18:12PM +0100, Stef Mientki wrote:
Well my English isn't too well, but I thought awful was one of those
English words,
that can mean exactly the opposite ?
But let me phrase it in simple words: I found your AdvancedSplashScreen
really nice and cool.
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346