Docstring updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-05-12 22:46:53 +00:00
parent 948ee5ea30
commit 4e5d278c12
9 changed files with 615 additions and 542 deletions

View File

@@ -12,16 +12,19 @@
#----------------------------------------------------------------------
"""
Load color names/values from the rgb.txt file on my system...
Load addition color names/values into the wx colour database. These
names and values originally came from the rgb.txt file on my system...
"""
def getColourList():
"""Returns a list of just the colour names used by this module."""
return [ x[0] for x in getColourInfoList() ]
def getColourInfoList():
"""Returns the list of colour name/value tuples used by this module."""
return [
("SNOW", 255, 250, 250),
("GHOST WHITE", 248, 248, 255),
@@ -659,6 +662,7 @@ def getColourInfoList():
_haveUpdated = False
def updateColourDB():
"""Updates the wx colour database by adding new colour names and RGB values."""
global _haveUpdated
if not _haveUpdated:
import wx