Example #1
0
    def test_lib_fancytext_Methods(self):
        self.frame.Bind(wx.EVT_PAINT, self.OnPaint)

        FT.RenderToBitmap(test_str, background=None, enclose=True)
Example #2
0
 def SetLabel(self, label):
     """Render label."""
     bmp = fancytext.RenderToBitmap(
         label, wx.Brush(self.GetBackgroundColour(), wx.BRUSHSTYLE_SOLID))
     self.SetBitmap(bmp)
Example #3
0
 def SetLabel(self, label):
     bmp = fancytext.RenderToBitmap(
         label, wx.Brush(self.GetBackgroundColour(), wx.SOLID))
     self.SetBitmap(bmp)