support for cstringArray/seq[string]
This commit is contained in:
parent
e6fccd33a8
commit
5c31092dc6
7 changed files with 518 additions and 259 deletions
|
|
@ -14,9 +14,7 @@ proc appActivate(app: Application) =
|
|||
button.label = "Save"
|
||||
window.add(button)
|
||||
button.setActionName("win.save")
|
||||
var h: cstringArray = allocCstringArray(["<Control><Shift>S"])
|
||||
setAccelsForAction(app, "win.save", h)
|
||||
deallocCStringArray(h)
|
||||
setAccelsForAction(app, "win.save", "<Control><Shift>S")
|
||||
showAll(window)
|
||||
|
||||
proc main =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue