More Form removal. New CloseNonBlocking method instead of CloseNonBlockingForm
This commit is contained in:
parent
828274af3f
commit
eb72181182
2 changed files with 22 additions and 17 deletions
|
@ -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) #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue