Module wxvf
[hide private]
[frames] | no frames]

Source Code for Module wxvf

 1  #!/usr/bin/env python 
 2  # -*- coding: utf-8 -*- 
 3  # 
 4  # 
 5  #    filename:  wxvf.py 
 6  # 
 7  #    version:   0.94 
 8  # 
 9  # 
10  # ---------------------------------------------------------------------------------------- 
11  # 
12  # 
13  #    Copyright (C) 2010  Michael Bellair 
14  # 
15  #    This file is part of wxvf. 
16  # 
17  #    wxvf is free software: you can redistribute it and/or modify 
18  #    it under the terms of the GNU General Public License as published by 
19  #    the Free Software Foundation, either version 3 of the License, or 
20  #    (at your option) any later version. 
21  # 
22  #    wxvf is distributed in the hope that it will be useful, 
23  #    but WITHOUT ANY WARRANTY; without even the implied warranty of 
24  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
25  #    GNU General Public License for more details. 
26  # 
27  #    You should have received a copy of the GNU General Public License 
28  #    along with wxvf.  If not, see <http://www.gnu.org/licenses/>. 
29  # 
30  #    Michael Bellair 
31  #    Sportplatzstrasse 11 
32  #    01259 Dresden 
33  # 
34  #    E-Mail:    bellair@freenet.de 
35  #    homepage:  http://www.michaelbellair.de/vf/index.html 
36  # 
37  # 
38  # ---------------------------------------------------------------------------------------- 
39  # 
40  import wx 
41  from vfhauptfenster import VFHauptfenster 
42   
43   
44   
45 -class wxVF(wx.App):
46 """ 47 Klasse, die das Programmhauptfenster repräsentiert. 48 """
49 - def OnInit(self):
50 wx.InitAllImageHandlers() 51 hauptfenster = VFHauptfenster( None, -1, "" ) 52 self.SetTopWindow(hauptfenster) 53 hauptfenster.Show() 54 return 1
55 56 57 if __name__ == "__main__": 58 wxvf = wxVF( redirect = 0 ) 59 wxvf.MainLoop() 60