added clipcascade

This commit is contained in:
liph committed 2026-07-23 16:48:58 +02:00
1 parent 90e44adbae
commit cba86d9dce
31 files changed
+6406

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
from cli.echo import Echo
class CustomDialog:
def __init__(self, message, msg_type="", timeout=None):
self.message = message
self.msg_type = msg_type.lower()
self.timeout = timeout
def mainloop(self):
if self.msg_type == "success":
Echo("✅", self.message)
elif self.msg_type == "error":
Echo("❌", self.message)
elif self.msg_type == "warning":
Echo("⚠️", self.message)
elif self.msg_type == "info":
Echo("ℹ", self.message)
else:
Echo(self.message)
def close(self):
pass