Created
July 24, 2012 11:25
-
-
Save anonymous/3169445 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
""" | |
import wx | |
from Widgets import * | |
import GlobalValues | |
from InitFunctions import * | |
from OnEventFunctions import * | |
from ccu import Logger | |
class Test_HDD_Update(wx.Frame): | |
def __init__(self, parent, label, pos, size, frameno): | |
InitWidgetLists(self, frameno) | |
wx.Frame.__init__(self, parent = parent, title = label, pos = pos, size = size, | |
style=wx.MINIMIZE_BOX|wx.SYSTEM_MENU|wx.CAPTION|wx.CLOSE_BOX|wx.CLIP_CHILDREN) | |
self.Log = Logger.getLogger('HDD Update') | |
if frameno == 0: | |
self.Bind(wx.EVT_CLOSE, sys.exit) | |
OnInit(self, frameno) | |
def OnPicture(self, event): | |
OnPictureFunc(self, event) | |
def OnMove(self, event): | |
OnMoveFunc(self, event) | |
def OnButton(self, event): | |
OnButtonFunc(self, event) | |
def OnSpin(self, event): | |
OnSpinFunc(self, event) | |
def OnCheck(self, event): | |
OnCheckFunc(self, event) | |
def OnMenu(self, event): | |
OnMenuFunc(self, event) | |
def OnKeyUp(self, event): | |
OnKeyUpFunc(self, event) | |
def OnRadio(self, event): | |
OnRadioFunc(self, event) | |
def OnShowPopup(self, event): | |
OnShowPopupFunc(self, event) | |
def OnPopupItemSelected(self, event): | |
OnPopupItemSelectedFunc(self, event) | |
def OnCombo(self, event): | |
OnComboFunc(self, event) | |
def main(): | |
app = wx.PySimpleApp() | |
frame = Testautomatisierung_HDD_Update(None, ' HDD Update - xx', (200, 30), GlobalValues.mainframesize, 0) | |
frame.Show() | |
frame.SetFocus() | |
app.MainLoop() | |
if __name__ == '__main__': | |
main() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment