コード例 #1
0
 def on_text_gradient_color_button_clicked(self, w):
     self.properties.text.gradient_color = select_color(
                                     self.window,
                                     self.properties.text.gradient_color,
                                    'Select gradient color'
                                                       )
     self.__redraw_gradient_area()
コード例 #2
0
 def on_text_bg_color_button_clicked(self, w):
     self.properties.text.background_color = select_color(
                                       self.window,
                                       self.properties.text.background_color,
                                      'Select background color'
                                                          )
     self.__redraw_gradient_area()
コード例 #3
0
 def on_status_color_button_clicked(self, w):
     self.properties.status.color = select_color(
                                           self.window,
                                           self.properties.status.color,
                                           'Select status color'
                                                 )
     self.__build_tooltip_status_color()
コード例 #4
0
 def on_styles_color_setter_clicked(self, w):
     curr_style = self.properties.styles.item( self.current_style )
     curr_style.color = \
          select_color( self.window, curr_style.color, 'Select font color' )