Werner F. Bruhin wrote:
Hi Florian,
Florian Mayer wrote:
Werner F. Bruhin wrote:
...
What is "self"? If it is a panel do you have "style=wx.TAB_TRAVERSAL"
Werner
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org
self is a wx.Frame...
You should put a wx.Panel on to your wx.Frame and then it should
work. BTW, if you want to have the correct look of your application
on all platforms then you need to do this anyhow.
Werner
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Thanks for you answers!
But what is wrong about this code, the output is crap, i just don't see
the widgets:
panel = wx.Panel(self, -1)
self.outputt = wx.StaticText(panel, -1, 'None', (410, 300))
self.dont_ask_me_again = wx.CheckBox(panel,-1,"Don't ask me
again",(250,300),(150,20))
self.SelectLanguage()
#self.outputn = wx.TextCtrl(self, -1, '', (150, 170))
self.given = wx.TextCtrl(panel, -1, '', (400, 270), (150,
-1),style=wx.TE_PROCESS_ENTER | wx.TAB_TRAVERSAL)
self.asked = wx.TextCtrl(panel, -1, '', (250, 270), (150,
-1),style= wx.TE_READONLY | wx.TAB_TRAVERSAL)
self.submit = wx.Button(panel, 7, 'Submit', (550,
270),style=wx.TAB_TRAVERSAL)
self.add1 = wx.TextCtrl(panel, -1, '', (250, 400), (150,
-1),style=wx.TAB_TRAVERSAL)
self.add = wx.TextCtrl(panel, -1, '', (400, 400), (150,
-1),style=wx.TE_PROCESS_ENTER | wx.TAB_TRAVERSAL)
self.addVocButton = wx.Button(panel, 6, 'Add Vocabulary', (550,
400),style=wx.TAB_TRAVERSAL)
self.given.SetFocus()
self.times_till_lock =
wx.SpinCtrl(panel,-1,"",(250,320),(50,-1),style=wx.TAB_TRAVERSAL)
self.times_till_lock.SetValue(9)
Thank you for your answers!
···
--
Best regards
Florian Mayer
GPG public key: http://florianmayer.fl.funpic.de/name/name.gpg
Jabber: name@jabber.org
ICQ: 446504088
Aim: segfaulthunter
Yahoo: segfaulthunter
IRC: name @ irc.freenode.net
Secondary email: segfaulthunter@gmail.com