Table of Contents

Class: ColorButton bkchem/widgets.py

button used for color selection; has the choosen color in background and when pressed opens tkColorChooser.askcolor dialog

Base Classes   
Tkinter.Button
Methods   
__init__
_select_color
set_color
  __init__ 
__init__ (
        self,
        master=None,
        color=None,
        text='',
        )

well, init...

  _select_color 
_select_color ( self )

  set_color 
set_color ( self,  color )

sets the self.color and modifies self.foreground_color if needed for the text to be visible


Table of Contents

This document was automatically generated on Wed Jun 1 11:05:30 2005 by HappyDoc version 2.1