A data structure to hold help text for a GUI application.
Methods
|
|
format_text
insert_node
|
|
format_text
|
format_text ( self, input_text )
Fix up the text so it can be displayed.
Remove the first whitespace character from the input text, since it
probably comes from code that was indented.
|
|
insert_node
|
insert_node (
self,
node_path,
help_text='',
)
Insert a help text node into the tree.
The new node is returned.
Arguments
-
node_path A string with node names separated by the
nodePathSep value for the class. The path is assumed to
start at the current node, so the name of the current node
should not be inserted into the beginning of the path.
-
help_text A string which should be displayed as the
help string for the node.
|
|