update some package

This commit is contained in:
Xuan Sang LE
2020-05-21 17:28:02 +02:00
parent 6cda32bd3c
commit 04225e74fb
13 changed files with 43 additions and 101 deletions

View File

@ -153,7 +153,8 @@ class ShowCase extends this.OS.GUI.BaseApplication
{ text: "YesNo dialog", id: "yesno" },
{ text: "Selection dialog", id: "selection" },
{ text: "About dialog", id: "about" },
{ text: "File dialog", id: "file" }
{ text: "File dialog", id: "file" },
{ text: "Text dialog", id: "text" }
]
btrun.set "onbtclick", (e) =>
@ -216,6 +217,14 @@ class ShowCase extends this.OS.GUI.BaseApplication
})
.then (f, name) =>
@notify f, name
when "text"
@openDialog("TextDialog", {
title: "Text dialog review",
value: "txt data"
})
.then (d) =>
@notify d
else return