A small proposed change to wx.StaticText

First things first. The existing documentation is wrong ! The label
parameter isn’t even mentioned:

   [**[Package wx](http://www.wxpython.org/docs/api/wx-module.html)
          :: Class StaticText**](http://www.wxpython.org/docs/api/wx.StaticText-class.html)       for

wxPython 2.8.9.2

It's shown as:
    Control:   `[`__init__`](http://www.wxpython.org/docs/api/wx.StaticText-class.html#__init__)(self, parent, id, pos, size, style, validator, name)

    Where is "label", the most important parameter ?!

    BTW, why are you trying to change something that is **STATIC**
    ? Shouldn't you consider using some other similar-looking

control that’s meant to be changed , if only for the
purpose of coding clarity ?

  `

Because that class does not have a docstring for the __init__ so epydoc is inheriting the docstring in wx.Control instead, as shown in the text you pasted.

···

On 8/9/10 9:57 AM, Ray Pasco wrote:

  First things first. The existing documentation is wrong ! The *label*
  parameter isn't even mentioned:

Package
wx :: Class
StaticText* for wxPython 2.8.9.2

It's shown as:
Control: ||__init__|
(self,
parent, id, pos, size, style, validator, name)

Where is "label", the most important parameter ?!

--
Robin Dunn
Software Craftsman

'Static' may happen to be the name but it's no more static than anything else inside a stored-program computer. I use it because it has a nicer appearance and is visibly distinct for the user.

(The particular way I'm using it is unchangeable for the user but the program changes it every time a new record is loaded in that particular screen. It's used as a "title" at the top that names the record.)

Michael

···

On 8/9/2010 11:57 AM, Ray Pasco wrote:

BTW, why are you trying to change something that is *STATIC* ? Shouldn't
you consider using some other similar-looking control that's _meant to
be changed_, if only for the purpose of coding clarity ?