wxPython: StaticText Event

David 71david at libero.it
Fri Sep 8 04:01:28 EDT 2006


Il Fri, 08 Sep 2006 10:24:52 +1000, John McMonagle ha scritto:

> If you want to create static text that responds to mouse events, try
> using the wx.lib.stattext.GenStaticText class.  
> 
> Add the following import:
> 
> import wx.lib.stattext
> 
> Then,
> 
> self.st = wx.lib.stattext.GenStaticText(self.pnl, -1, 'Static Text
> Control', pos=(30,20))

Thankyou very much!

Best regards,

David



More information about the Python-list mailing list