lib/gui/form.py
def initTabs(f,labels):
	"""Initializes the tabs for the GUI.
	@param f: File to write to
	@param labels: List of tab labels
	"""
	for label in labels:
		f.write("<span id='" + label + "tab' onclick='select_tab(this)'>" + label.capitalize() + "</span>")
		openScript(f)
		f.write("tabs.push(document.getElementById('" + label + "tab'))")
		closeScript(f)
Initializes the tabs for the GUI.
	@param f: File to write to
	@param labels: List of tab labels
	
Initializes the tabs for the GUI.
Initializes the tabs for the GUI .
def initTabs(f,labels):
	for label in labels:
		f.write("<span id='" + label + "tab' onclick='select_tab(this)'>" + label.capitalize() + "</span>")
		openScript(f)
		f.write("tabs.push(document.getElementById('" + label + "tab'))")
		closeScript(f)
def initTabs ( f , labels ) : for label in labels : f . write ( "<span id='" + label + "tab' onclick='select_tab(this)'>" + label . capitalize ( ) + "</span>" ) openScript ( f ) f . write ( "tabs.push(document.getElementById('" + label + "tab'))" ) closeScript ( f )
Initializes the tabs for the GUI.
Initializes the tabs for the GUI .
"""Initializes the tabs for the GUI.
	@param f: File to write to
	@param labels: List of tab labels
	"""
f
File to write to
File to write to
labels
List of tab labels
List of tab labels