Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2006-06-19 17:21:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-06-19 17:21:44 +0400
commit03449818b3350ac46fff086f5c0096fe0d7dbf80 (patch)
treefc577f46b1958384feba076f0fc5fe2a278bd023 /source/blender/python/api2_2x/doc/Draw.py
parentcbe9fc4e449d6cdce65047501293183fa12b0056 (diff)
Added a note about Draw.ColorPicker needed Draw.Register to have a non None event function.
Diffstat (limited to 'source/blender/python/api2_2x/doc/Draw.py')
-rw-r--r--source/blender/python/api2_2x/doc/Draw.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/doc/Draw.py b/source/blender/python/api2_2x/doc/Draw.py
index d6d33733f36..8fc88a83e6d 100644
--- a/source/blender/python/api2_2x/doc/Draw.py
+++ b/source/blender/python/api2_2x/doc/Draw.py
@@ -602,6 +602,7 @@ def ColorPicker(event, x, y, width, height, initial, tooltip = None):
is kept over the button).
@rtype: Blender Button
@return: The Button created.
+ @note: The color picker will not work if the Register's event function is None.
"""
def Number(name, event, x, y, width, height, initial, min, max, tooltip = None):