Static Controls

Static controls are simple controls used to display text.  They are
not interactive and do not generate messages.

class CLabel
__init__(self, parent, text)

A CLabel control displays a single line of text.

Instance Variables

wpyParent, wpyText, wpyChildList, wpySizeX/Y, wpyLocX/Y

Methods

__init__(self, parent, text)
	Return a label with self.wpySizeX/Y set according to the arguments given.
parent, object
	The view or dialog parent of the control.
text, string
	The text to display in the control.  Assigned to wpyText.

Create(self)
	Make the label visible by calling the underlying GUI.


class CMessage
__init__(self, parent, text, aspect = 3.2)

A CMessage control displays a multiple lines of text.  Text entered as a
long string is formatted to multiple lines.  If a newline character appears
in the text, the line is broken at that point.

Instance Variables

wpyParent, wpyText, wpyChildList, wpySizeX/Y, wpyLocX/Y

Methods

__init__(self, parent, text, aspect = 3.2)
	Return a message control  with self.wpySizeX/Y set according to the
	arguments given.
parent, object
	The view or dialog parent of the control.
text, string
	The text to display in the control.  Assigned to wpyText.
aspect, float
	The aspect ratio of the text after formatting as x / y.  This is used
	to decide where to break lines.

Create(self)
	Make the message control visible by calling the underlying GUI.

