The Kolya Release - window() == window.Read(). ML = MLine = Multiline
This commit is contained in:
		
							parent
							
								
									928c3b2973
								
							
						
					
					
						commit
						63c8782dac
					
				
					 1 changed files with 20 additions and 1 deletions
				
			
		|  | @ -1,5 +1,5 @@ | |||
| #!/usr/bin/python3 | ||||
| version = __version__ = "4.4.0.6 Unreleased Scrollable Columns" | ||||
| version = __version__ = "4.4.0.7 Unreleased Scrollable Columns, ML, window()" | ||||
| 
 | ||||
| 
 | ||||
| #  888888ba           .d88888b  oo                     dP           .88888.  dP     dP dP | ||||
|  | @ -1631,6 +1631,10 @@ class Multiline(Element): | |||
|     update = Update | ||||
| 
 | ||||
| 
 | ||||
| ML = Multiline | ||||
| MLine = Multiline | ||||
| 
 | ||||
| 
 | ||||
| # ---------------------------------------------------------------------- # | ||||
| #                                       Text                             # | ||||
| # ---------------------------------------------------------------------- # | ||||
|  | @ -6133,6 +6137,21 @@ class Window: | |||
|             warnings.warn('The key you passed in is no good. Key = {}*'.format(key)) | ||||
|             return None | ||||
| 
 | ||||
|     def __call__(self, *args, **kwargs): | ||||
|         """ | ||||
|         Call window.Read but without having to type it out. | ||||
|         window() == window.Read() | ||||
|         window(timeout=50) == window.Read(timeout=50) | ||||
| 
 | ||||
|         :param args: | ||||
|         :param kwargs: | ||||
|         :return: Tuple[Any, Dict[Any:Any]] The famous event, values that Read returns. | ||||
|         """ | ||||
|         return self.Read(*args, **kwargs) | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|     add_row = AddRow | ||||
|     add_rows = AddRows | ||||
|     alpha_channel = AlphaChannel | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue