Back to index

python3.2  3.2.2
Classes | Functions
tkinter.colorchooser Namespace Reference

Classes

class  Chooser

Functions

def askcolor

Function Documentation

def tkinter.colorchooser.askcolor (   color = None,
  options 
)

Definition at line 58 of file colorchooser.py.

00058 
00059 def askcolor(color = None, **options):
00060     "Ask for a color"
00061 
00062     if color:
00063         options = options.copy()
00064         options["initialcolor"] = color
00065 
00066     return Chooser(**options).show()
00067 
00068 
00069 # --------------------------------------------------------------------
00070 # test stuff

Here is the call graph for this function: