Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5109554
By: dwarnold

All,

The code below will not run. There is some sort of error. This is one of those
situation in PyDev where no problems are reported, no error messages are 
reported
to the console during the run attempt. What do programmers do in this situation
in PyDev-Eclipse to hunt down the source of the error?

import wx

class LeftPanel(wx.Panel):
    
    def __init__(self, parent, id):
        wx.Panel.__init__(self, parent, id, style=wx.BORDER_SUNKEN)

class RightPanel(wx.Panel):
    
    def __init__(self, parent, id):
        wx.Panel.__init__(self, parent, id, style=wx.BORDER_SUNKEN)
        
        self.text=wx.StaticText(self, -1, '0', (40, 60))
        
class Communicate(wx.Frame):
    
    def __init__(self, parent, id, title):
        wx.Frame.__init__(self, parent, id, title, size=(280, 200))
        
        panel=wx.Panel(self, -1)
        self.rightPanel=RightPanel(panel, -1)
        
        hbox=wx.BoxSizer(wx.HORIZONTAL)        
        hbox.add(self.rightPanel, 1, wx.EXPAND|wx.ALL, 5)
        
        panel.SetSizer(hbox)
        self.Centre()
        self.Show(True)
        
if __name__ == '__main__':
    app=wx.App()
    Communicate(None, -1, 'Widgets Communicate')        
    app.MainLoop()


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to