コード例 #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()
コード例 #2
0
ファイル: toolbox.py プロジェクト: leonardcj/paint-activity
 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()
コード例 #3
0
ファイル: toolbar.py プロジェクト: godiard/fototoon-activity
    def __init__(self, page):
        ColorToolButton.__init__(self)
        self._page = page

        self.connect('color-set', self._color_button_cb)
コード例 #4
0
ファイル: toolbar.py プロジェクト: tchx84/fototoon-activity
    def __init__(self, page):
        ColorToolButton.__init__(self)
        self._page = page

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