Exemplo n.º 1
0
 def __init__(self, title, msg="", maxticks=100, tickincr=1):
     self.title = title
     self.msg = msg
     self.maxticks = maxticks
     self.tickincr = tickincr
     self.dialog = None
     WinThread.__init__(self)
     self.createdEvent = threading.Event()
Exemplo n.º 2
0
	def __init__(self,  title, msg = "", maxticks = 100, tickincr = 1):
		self.title = title
		self.msg = msg
		self.maxticks = maxticks
		self.tickincr = tickincr
		self.dialog = None
		WinThread.__init__(self)
		self.createdEvent = threading.Event()
Exemplo n.º 3
0
    def InitInstance(self):
        rect = self.parentWindow.GetClientRect()
        rect = (0, 0, rect[2] - rect[0], rect[3] - rect[1])

        self.child = FontWindow()
        self.child.Create("FontDemo", win32con.WS_CHILD | win32con.WS_VISIBLE,
                          rect, self.parentWindow)
        self.SetMainFrame(self.child)
        return WinThread.InitInstance(self)
Exemplo n.º 4
0
 def InitInstance(self):
     self.dialog = CThreadedStatusProcessDialog(self.title, self.msg,
                                                self.maxticks,
                                                self.tickincr)
     self.dialog.CreateWindow()
     try:
         self.dialog.SetForegroundWindow()
     except win32ui.error:
         pass
     self.createdEvent.set()
     return WinThread.InitInstance(self)
Exemplo n.º 5
0
	def __init__(self, parentWindow):
		self.parentWindow = parentWindow
		self.child = None
		WinThread.__init__(self)
Exemplo n.º 6
0
 def __init__(self, parentWindow):
     self.parentWindow = parentWindow
     self.child = None
     WinThread.__init__(self)