lib/gui/form.py
def initColors(f,colors):
	"""Writes a script section to initialize the tab colors for the GUI.
	@param f: File to write to
	@param colors: List of color names
	"""
	openScript(f)
	for color in colors:
		f.write("colors.push('" + color + "')\n")
	closeScript(f)
Writes a script section to initialize the tab colors for the GUI.
	@param f: File to write to
	@param colors: List of color names
	
Writes a script section to initialize the tab colors for the GUI.
Writes a script section to initialize the tab colors for the GUI .
def initColors(f,colors):
	openScript(f)
	for color in colors:
		f.write("colors.push('" + color + "')\n")
	closeScript(f)
def initColors ( f , colors ) : openScript ( f ) for color in colors : f . write ( "colors.push('" + color + "')\n" ) closeScript ( f )
Writes a script section to initialize the tab colors for the GUI.
Writes a script section to initialize the tab colors for the GUI .
"""Writes a script section to initialize the tab colors for the GUI.
	@param f: File to write to
	@param colors: List of color names
	"""
f
File to write to
File to write to
colors
List of color names
List of color names