Hi,
Sbaush wrote:
Hi. I've generated a GUI from wxGlade. This is one line of my code. In a lot of lines there is this -1
What is this???
self.label_1 = wxStaticText(self.notebook_2_pane_1, -1, "Select the chain")
It is a default for the ID parameter, see in the doc:
>>> import wx
>>> help(wx.StaticText.Create)
Help on method Create in module wx._controls:
Create(*args, **kwargs) unbound wx._controls.StaticText method
Create(self, Window parent, int id=-1, String label=EmptyString,
Point pos=DefaultPosition, Size size=DefaultSize,
long style=0, String name=StaticTextNameStr) -> bool
or
import wx
>>> help(wx.StaticText)
to get all help for StaticText.
See you
Werner
···
--
Sbaush