def shade(): from xpra.platform.gui import set_shaded set_shaded(window.get_window(), True)
def unshade(): from xpra.platform.gui import set_shaded set_shaded(window.get_window(), False)
def do_set_shaded(): set_shaded(self.get_window(), shaded)
def set_shaded(self, shaded): #platform specific code: log("set_shaded(%s)", shaded) if not self.is_realized(): self.realize() set_shaded(self.get_window(), shaded)