Exemplo n.º 1
0
 def _frontTextColorButtonCb(self, widget):
     color = gdk_rgba_to_argb(widget.get_rgba())
     self.debug("Setting title foreground color to %x", color)
     # TODO: Use set_text_color when we work with TitleSources instead of
     # TitleClips
     self._setChildProperty("color", color)
Exemplo n.º 2
0
 def _frontTextColorButtonCb(self, widget):
     color = gdk_rgba_to_argb(widget.get_rgba())
     self.debug("Setting title foreground color to %x", color)
     # TODO: Use set_text_color when we work with TitleSources instead of
     # TitleClips
     self._setChildProperty("color", color)
Exemplo n.º 3
0
 def _backgroundColorButtonCb(self, widget):
     color = gdk_rgba_to_argb(widget.get_rgba())
     self.debug("Setting title background color to %x", color)
     self._setChildProperty("foreground-color", color)
Exemplo n.º 4
0
 def _backgroundColorButtonCb(self, widget):
     color = gdk_rgba_to_argb(widget.get_rgba())
     self.debug("Setting title background color to %x", color)
     self._setChildProperty("foreground-color", color)
Exemplo n.º 5
0
 def _background_color_button_cb(self, widget):
     color = gdk_rgba_to_argb(widget.get_rgba())
     self.debug("Setting title background color to %x", color)
     self._set_child_property("foreground-color", color)
Exemplo n.º 6
0
 def _color_button_cb(self, widget):
     argb = gdk_rgba_to_argb(widget.get_rgba())
     self._set_child_property("foreground-color", argb)
Exemplo n.º 7
0
 def _frontTextColorButtonCb(self, widget):
     color = gdk_rgba_to_argb(widget.get_rgba())
     self.debug("Setting title foreground color to %x", color)
     # TODO: Use set_text_color when we work with TitleSources instead of TitleClips
     self.source.set_color(color)
     self.seeker.flush()
Exemplo n.º 8
0
 def _backgroundColorButtonCb(self, widget):
     color = gdk_rgba_to_argb(widget.get_rgba())
     self.debug("Setting title background color to %x", color)
     self.source.set_background(color)
     self.seeker.flush()