
wx.lib.floatcanvas.FCObjects.TextObjectMixin¶A mix in class that holds attributes and methods that are needed by the Text objects
Class Hierarchy¶
Inheritance diagram for class TextObjectMixin:

Known Subclasses¶wx.lib.floatcanvas.FCObjects.Bitmap, wx.lib.floatcanvas.FCObjects.ScaledBitmap, wx.lib.floatcanvas.FCObjects.ScaledBitmap2, wx.lib.floatcanvas.FCObjects.ScaledText, wx.lib.floatcanvas.FCObjects.ScaledTextBox, wx.lib.floatcanvas.FCObjects.Text
Known Superclasses¶wx.lib.floatcanvas.FCObjects.XYObjectMixin
Methods Summary¶A dummy method to re-do the layout of the text. |
|
Re-sets the text displayed by the object |
Class API¶TextObjectMixin(XYObjectMixin)¶A mix in class that holds attributes and methods that are needed by the Text objects
LayoutText(self)¶A dummy method to re-do the layout of the text.
A derived object needs to override this if required.
SetBackgroundColor(self, BackgroundColor)¶SetColor(self, Color)¶SetFont(self, Size, Family, Style, Weight, Underlined, FaceName)¶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