mirror of https://github.com/Airr/nim-cocoa.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
489 B
9 lines
489 B
{.compile: "widgets/tableview.m".}
|
|
|
|
import NSFunctions
|
|
|
|
proc newTableview*(parent: ID, left, top, width, height: cint): ID {.cdecl, importc: "createTableView".}
|
|
proc addColumn*(parent: ID, name: cstring) {.cdecl, importc: "newTableColumn".}
|
|
proc addRow*(parent: ID, person: cstring) {.cdecl, importc: "addRow".}
|
|
proc saveTableView*(tview: ID, path: cstring) {.cdecl, importc: "tableviewSaveToFile".}
|
|
proc loadTableView*(tview: ID, path: cstring) {.cdecl, importc: "tableviewLoadFromFile".} |