nativefiledialog icon indicating copy to clipboard operation
nativefiledialog copied to clipboard

feature request: set dialog title

Open stevengj opened this issue 4 years ago • 0 comments

Currently, your API does not allow the title of the file dialog to be specified.

It seems straightforward to support this, because all of the underlying platform APIs provide an option to set the title:

  • IFileDialog::SetTitle on Windows
  • title property of NSSavePanel on MacOS
  • on Gtk and Zenity you are already setting the title to "Open File": https://github.com/mlabbe/nativefiledialog/blob/67345b80ebb429ecc2aeda94c478b3bcc5f7888e/src/nfd_gtk.c#L181 and https://github.com/mlabbe/nativefiledialog/blob/67345b80ebb429ecc2aeda94c478b3bcc5f7888e/src/nfd_zenity.c#L190

PS. Just got a Julia wrapper for this library (https://github.com/Suavesito-Olimpiada/NativeFileDialog.jl) along with precompiled binaries for many platforms (https://github.com/JuliaBinaryWrappers/NativeFileDialog_jll.jl), thanks to @Suavesito-Olimpiada.

stevengj avatar Oct 19 '21 00:10 stevengj