Merge pull request #922 from MikeTheWatchGuy/Dev-latest
Implemented the BringToFront method of Window class
This commit is contained in:
		
						commit
						0f0002746e
					
				
					 1 changed files with 6 additions and 4 deletions
				
			
		|  | @ -3503,10 +3503,12 @@ class Window: | ||||||
|             self.QT_QMainWindow.setWindowOpacity(self._AlphaChannel) |             self.QT_QMainWindow.setWindowOpacity(self._AlphaChannel) | ||||||
| 
 | 
 | ||||||
|     def BringToFront(self): |     def BringToFront(self): | ||||||
|         try: |         self.QTMainWindow.activateWindow(self.QT_QMainWindow) | ||||||
|             self.TKroot.lift() |         self.QTMainWindow.raise_(self.QT_QMainWindow) | ||||||
|         except: |         # try: | ||||||
|             pass |         #     self.TKroot.lift() | ||||||
|  |         # except: | ||||||
|  |         #     pass | ||||||
| 
 | 
 | ||||||
|     def CurrentLocation(self): |     def CurrentLocation(self): | ||||||
|         location = self.QT_QMainWindow.geometry() |         location = self.QT_QMainWindow.geometry() | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue