gir.core icon indicating copy to clipboard operation
gir.core copied to clipboard

Verify g_file_get_path

Open badcel opened this issue 2 years ago • 1 comments

Verify Gio's g_file_get_path has a public API and is working like expected. See #884

badcel avatar Jul 09 '23 09:07 badcel

At least in the latest main, g_file_get_path() looks like it's being generated correctly and there is a string? GetPath() method in the Gio.File interface

For the example in #884 it's dealing with raw handles since Gtk.FileDialog is from GTK 4.10 and doesn't have bindings yet, but it could probably at least use Gio.Internal.File.GetPath(handle). Alternatively I think the code could construct a Gio.FileHelper from the handle and then use the public methods

cameronwhite avatar Jul 15 '23 22:07 cameronwhite