The GTK3 default file picker is completely inferior to the Windows and MacOS file selector widgets. However, GTK3 on GNU/Linux allows to use the desktop portal (Such as if the KDE portal is installed) to use the libraries provided by KDE to get a significantly better one.
Since I can only upload one image, here is for reference the KDE portal file chooser:
The default GTK3 one has no thumbnails other than a sidepanel for a single image. This makes it incredibly inconvenient to use if many images exist in a directory.
GTK3 and GTK4, there is an API to allow using the native portals if installed and configured.
From the API, for GTK3 is FileChooserNative. Can I hook into PyGObject API since this uses GTK3 on unix like systems? Or should I instead use the python xdg libraries instead?