Implemented the BringToFront method of Window class

This commit is contained in:
MikeTheWatchGuy 2018-12-13 22:49:36 -05:00
parent f4a43b6eb5
commit 707d709841
1 changed files with 6 additions and 4 deletions

View File

@ -3503,10 +3503,12 @@ class Window:
self.QT_QMainWindow.setWindowOpacity(self._AlphaChannel)
def BringToFront(self):
try:
self.TKroot.lift()
except:
pass
self.QTMainWindow.activateWindow(self.QT_QMainWindow)
self.QTMainWindow.raise_(self.QT_QMainWindow)
# try:
# self.TKroot.lift()
# except:
# pass
def CurrentLocation(self):
location = self.QT_QMainWindow.geometry()