Page 1 of 1

odd shaped stacks

Posted: Fri Mar 11, 2011 6:50 am
by magice
I would like to create an app that is not the standard rectangular window. I had hoped that I could simply use a background graphic with a transparent alpha channel, eliminate the title bar and border and that's all it would require. Unfortunately I have had no luck with this approach. Does anyone know of any tutorials or sample stacks where anything like this was done?

Re: odd shaped stacks

Posted: Fri Mar 11, 2011 11:39 am
by Klaus
Hi magice,

check "windowshape" in the dictionary!
You can use any GIF or PNG image with an alpha channel for this, just do:
...
set the windowshape of stack "xyz" to XXXX
## where XXXX is the ID of the image you want to use
...
A "preopenstack" script seems to be the best place for this line


Best

Klaus

Re: odd shaped stacks

Posted: Fri Mar 11, 2011 2:50 pm
by mhoneywill

Re: odd shaped stacks

Posted: Wed Mar 16, 2011 7:42 pm
by magice
Thank you very much, this is exactly what I needed. BTW I thought i had answered this with a thank you 4 days ago, but i guess my post didn't take.