View Single Post
Posts: 35 | Thanked: 5 times | Joined on Sep 2007
#11
Hi,

I have not tested if I get anything appearing on the screen but at least python is happy with it:
Code:
import gtk
import hildondesktop
e = gtk.eventbox()
screen = e.get_screen()
rgba = gtk.gdk.Screen.get_rgba_colormap(screen)
e.set_colormap(rgba)
So this is just a small piece of incomplete code but it's accepted by the interpreter. I got some example code from somewhere, I really don't remember where I got it, anyway in it the screen line was commented out.
Also in pyphantom the code does not work but in the IT itself it's just fine.