More Form removal. New CloseNonBlocking method instead of CloseNonBlockingForm

This commit is contained in:
MikeTheWatchGuy 2018-09-23 18:04:32 -04:00
parent 828274af3f
commit eb72181182
2 changed files with 22 additions and 17 deletions

View file

@ -1829,9 +1829,9 @@ class Table(Element):
# ------------------------------------------------------------------------- #
# FlexForm CLASS #
# Window CLASS #
# ------------------------------------------------------------------------- #
class FlexForm:
class Window:
'''
Display a user defined for and return the filled in data
'''
@ -2124,7 +2124,7 @@ class FlexForm:
self.RootNeedsDestroying = True
return None
def CloseNonBlockingForm(self):
def CloseNonBlocking(self):
if self.TKrootDestroyed:
return
try:
@ -2132,6 +2132,8 @@ class FlexForm:
_my_windows.Decrement()
except: pass
CloseNonBlockingForm = CloseNonBlocking
def OnClosingCallback(self):
return
@ -2151,6 +2153,9 @@ class FlexForm:
# except:
# pass
FlexForm = Window
# ------------------------------------------------------------------------- #
# UberForm CLASS #
# Used to make forms into TABS (it's trick) #