Esempio n. 1
0
 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()
Esempio n. 2
0
 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()
Esempio n. 3
0
    def __init__(self, page):
        ColorToolButton.__init__(self)
        self._page = page

        self.connect('color-set', self._color_button_cb)
Esempio n. 4
0
    def __init__(self, page):
        ColorToolButton.__init__(self)
        self._page = page

        self.connect('color-set', self._color_button_cb)