Is there any way to set a widget's opacity in PyGTK?
I know there's a function for windows:
gtk.Window.set_opacity(0.85)
but there seems to be no equivalent for arbitrary widgets.
Anyone have any ideas?
Thanks in advance for your help.
Is there any way to set a widget's opacity in PyGTK?
I know there's a function for windows:
gtk.Window.set_opacity(0.85)
but there seems to be no equivalent for arbitrary widgets.
Anyone have any ideas?
Thanks in advance for your help.
For setting up per-pixel alpha, see
gtk.gdk.Screen.get_rgba_colormap()
. For making non-toplevel windows translucent, seegtk.gdk.Window.set_composited()
.
It might also be worth looking into pygtkglext for fancier widget stuff.