gtk-rs-core
gtk-rs-core copied to clipboard
No bindings for the g_win32 methods
There seems to be missing all those methods for windows. Probably because they are not part of the gir on linux
- [ ]
g_win32_check_windows_version ()
- [ ]
g_win32_get_command_line ()
- [ ]
g_win32_error_message ()
- [ ]
g_win32_getlocale ()
- [ ]
g_win32_get_package_installation_directory ()
- [x]
g_win32_get_package_installation_directory_of_module ()
- [ ]
g_win32_get_package_installation_subdirectory ()
- [ ]
g_win32_get_windows_version ()
- [ ]
g_win32_locale_filename_from_utf8 ()
Details at https://developer.gnome.org/glib/stable/glib-Windows-Compatibility-Functions.html
Some are there but yes, many are missing :) You'd have to add them manually like the ones that already exist. Any specific ones you're missing?
The one that I currently need is g_win32_get_package_installation_directory_of_module
. I made a quick git grep in the repo and I could not find any g_win32 method.
gio/src/win32_input_stream.rs for example.
I guess there's more to fix here.
I updated the issue and added a list of the functions based on GLib docs which I linked in the original issue as well
Can be closed now
That were all?