def __init__(self, activity): ColorToolButton.__init__(self) self._activity = activity self.properties = self._activity.area.tool self._button_cb = self.connect('notify::color', self._color_button_cb) self._inactive_color = style.COLOR_INACTIVE_FILL.get_gdk_color()
def __init__(self, activity): ColorToolButton.__init__(self) self._activity = activity self.properties = self._activity.area.tool self._button_cb = self.connect('notify::color', self._color_button_cb) self._inactive_color = style.COLOR_INACTIVE_FILL.get_gdk_color()
def __init__(self, page): ColorToolButton.__init__(self) self._page = page self.connect('color-set', self._color_button_cb)
def __init__(self, page): ColorToolButton.__init__(self) self._page = page self.connect('color-set', self._color_button_cb)