Expose show and hide methods as to be implemented for NoModal

This commit is contained in:
Cédric Krier
2023-07-03 19:53:12 +02:00
parent e7c7019d6e
commit 35f2bcd09f
+6
View File
@@ -39,6 +39,12 @@ class NoModal(object):
continue
break
def show(self):
raise NotImplementedError
def hide(self):
raise NotImplementedError
def default_size(self):
from tryton.gui.main import Main
main = Main()