Reply
Thread Tools
Posts: 11 | Thanked: 1 time | Joined on Feb 2008
#1
Hello everybody,

I am trying to write an application which draw the movement of the cursor on the screen directly on the desktop. Typically, I would want to create an transparent widget on which I can draw strokes. I searched a long time in the GTK documentation and I didn't find anything, I even don't know if it possible to do it.
Another solution would be to use Qt4 which is working on os2008 but the transparent background seems impossible to set up too.
If you know a way to do that...
Thanks
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#2
AFAIK, the maemo platform has no transparency, where you do see it it's been faked by reading the background and then applying ( in software ) alpha and a bitmap.
 
Posts: 11 | Thanked: 1 time | Joined on Feb 2008
#3
Really, but there is the cairo library, made to manage the transparency (composite manager), so I thought it was possible. I need to find another solution or maybe I can do the same way they do when I see transparency, is it difficult?
 
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#4
Originally Posted by vash42 View Post
Really, but there is the cairo library, made to manage the transparency (composite manager), so I thought it was possible. I need to find another solution or maybe I can do the same way they do when I see transparency, is it difficult?
xcompmgr + transset work, but xcompmgr is very buggy.

cairo-compmgr is probably much better I'd imagine, but it needs newer gtk libs, or something, so I couldn't get it to compile.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#5
I've not done any such work, but pyculator is translucent; if you're coding in python, that might be a good example.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:39.