def theme_callback(self, widget): '''Theme button callback.''' skin_window = SkinWindow(self.skin_preview_pixbuf) skin_window.show_all() skin_window.connect("show", lambda w: place_center(self.window, w)) return False
def theme_callback(self, widget): """ Invoked when the theme button is clicked. @param widget: Not used. @return: Always return False """ skin_window = SkinWindow(self.skin_preview_pixbuf) skin_window.show_all() skin_window.connect("show", lambda w: place_center(self.window, w)) return False
def theme_callback(self, widget): ''' Invoked when the theme button is clicked. @param widget: Not used. @return: Always return False ''' skin_window = SkinWindow(self.skin_preview_pixbuf) skin_window.show_all() place_center(self.window, skin_window) return False