def METHOD_NAME(self):
    variant = int(self.builder.get_object('chr_palette_variant').get_text())
    surface = self.chr.to_pil(variant)
    self.surface = pil_to_cairo_surface(surface.convert('RGBA'))
    self.builder.get_object('draw').queue_draw()