The Kolya Release - window() == window.Read(). ML = MLine = Multiline
This commit is contained in:
parent
928c3b2973
commit
63c8782dac
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/python3
|
#!/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
|
# 888888ba .d88888b oo dP .88888. dP dP dP
|
||||||
|
@ -1631,6 +1631,10 @@ class Multiline(Element):
|
||||||
update = Update
|
update = Update
|
||||||
|
|
||||||
|
|
||||||
|
ML = Multiline
|
||||||
|
MLine = Multiline
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------- #
|
# ---------------------------------------------------------------------- #
|
||||||
# Text #
|
# Text #
|
||||||
# ---------------------------------------------------------------------- #
|
# ---------------------------------------------------------------------- #
|
||||||
|
@ -6133,6 +6137,21 @@ class Window:
|
||||||
warnings.warn('The key you passed in is no good. Key = {}*'.format(key))
|
warnings.warn('The key you passed in is no good. Key = {}*'.format(key))
|
||||||
return None
|
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_row = AddRow
|
||||||
add_rows = AddRows
|
add_rows = AddRows
|
||||||
alpha_channel = AlphaChannel
|
alpha_channel = AlphaChannel
|
||||||
|
|
Loading…
Reference in New Issue