Haxe @:native bindings for Open, Folder, and Save dialogs
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
dialogs linc; don't apply touch/xml macros during completion Dec 1, 2015
linc more attempts to fix hxcpp pch errors Mar 29, 2018
test fix #7; added preserve_cwd flag (default true) to the functions and a… Sep 24, 2015
.gitignore initial commit Aug 16, 2015 initial commit Aug 16, 2015 add install info Aug 24, 2015


Haxe @:native bindings for Folder, Open and Save dialogs across Windows, Mac and Linux (GTK 3+)

This is a linc library.

This library works with the Haxe cpp target only.


haxelib git linc_dialogs

Supported platforms

  • Mac
  • Linux (GTK 3)
  • Windows

Example usage

notes: - some platforms, when there is no Main Window, have focus issues with cli - cancelled or failed dialogs return a blank string, test for it

import dialogs.Dialogs;

class Test {

    static function main() {

      var result ='Load image',
                { ext:'gif', desc:'GIF image' },
                { ext:'png', desc:'PNG image' }

      trace("Open result: "+result);

      result ='Save text file',
            { ext:'txt', desc:'Text file' }

      trace("Save result: "+result);

      result = Dialogs.folder('Select a random folder');

      trace("Folder result: "+result);