diff options
-rw-r--r-- | dalos-struct.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dalos-struct.lua b/dalos-struct.lua index 9bbe617..d66e02a 100644 --- a/dalos-struct.lua +++ b/dalos-struct.lua @@ -556,7 +556,15 @@ dalosp.struct = { title = "Use Template", action = function() obj:use_template(dalsop.struct.templates) end, }, + iup.button { + title = "Change name", + action = function() local s, n = iup.GetParam("Change name", nil, "Name: %s\n", obj.name) if s then obj.name = n end end + }, iup.fill {}, + iup.button { + title = "Close", + action = function() return iup.CLOSE end, + }, }, }, |