(self, value=True)
Enable RGBA if supported on the current screen
Enable RGBA if supported on the current screen
Enable RGBA if supported on the current screen
def set_real_transparency(self, value=True):
        """Enable RGBA if supported on the current screen"""
        if self.is_composited() == False:
            value = False

        screen = self.get_screen()
        if value:
            dbg('setting rgba visual')
            visual = screen.get_rgba_visual()
            if visual:
                self.set_visual(visual)
def set_real_transparency ( self , value = True ) : if self . is_composited ( ) == False : value = False screen = self . get_screen ( ) if value : dbg ( 'setting rgba visual' ) visual = screen . get_rgba_visual ( ) if visual : self . set_visual ( visual )