No description
Find a file
2023-01-05 14:33:14 +02:00
src Removed stupid comments 2023-01-05 14:33:14 +02:00
.gitignore Added save/open file dialogs for windows 2015-12-03 03:57:53 -08:00
LICENSE Code cleanup, pumped LICENSE file 2023-01-05 12:43:53 +02:00
native_dialogs.nimble Left all public API at native_dialogs module, moved all implementations to private modules with single interface, removed dependency on oldwinapi package 2023-01-04 21:30:05 +02:00
README.md Update README.md 2023-01-05 12:56:58 +02:00

nim-native-dialogs

nimble

Native Operating System Dialogs implementation for Nim-lang via single API. The library is GUI framework agnostic and supports the next platforms:

  • GNU/Linux + GTK+3
  • OSX + Cocoa
  • Windows + Win32 API

Currently the next dialogs are implemented in a single-file mode:

  • Open File Dialog
  • Save File Dialog
  • Folder Creation Dialog (GTK-only, stubs to save file dialog on other OSes)
  • Folder Selection Dialog (GTK-only, stubs to open file dialog on other OSes)

Installation

$ nimble install native_dialogs

Usage

import native_dialogs

echo callDialogFileOpen("Open File")
echo callDialogFileSave("Save File")
echo callDialogFolderCreate("Create New Folder")
echo callDialogFolderSelect("Open Folder")