Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Package floatcanvas :: Module FloatCanvas :: Class TextObjectMixin |
|
XYObjectMixin
--+
|
TextObjectMixin
Bitmap
,
ScaledBitmap
,
ScaledBitmap2
,
ScaledText
,
ScaledTextBox
,
Text
A mix in class that holds attributes and methods that are needed by the Text objects
Method Summary | |
---|---|
A dummy method to re-do the layout of the text. | |
SetBackgroundColor(self,
BackgroundColor)
| |
SetColor(self,
Color)
| |
SetFont(self,
Size,
Family,
Style,
Weight,
Underlined,
FaceName)
| |
Re-sets the text displayed by the object |
Class Variable Summary | |
---|---|
dict |
FontList = {}
|
int |
LayoutFontSize = 16 |
dict |
ShiftFunDict = {'cl': <function <lambda> at 0x23e4488>, ...
|
Method Details |
---|
LayoutText(self)A dummy method to re-do the layout of the text. A derived object needs to override this if required. |
SetText(self, String)Re-sets the text displayed by the object In the case of the ScaledTextBox, it will re-do the layout as appropriate Note: only tested with the ScaledTextBox |
Class Variable Details |
---|
FontList
|
LayoutFontSize
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:54:40 2009 | http://epydoc.sf.net |