Skip to content

Is there any way to get gtk_file_dialog_get_file binding working in Windows? #884

Answered by fsobolev
PlatinumLucario asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know what's causing the issue, but a workaround is to make g_file_get_path() return IntPtr and then get string using Marshal.PtrToStringUTF8 https://github.com/NickvisionApps/Application/blob/windows/NickvisionApplication.GNOME/Views/MainWindow.cs#L225

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@PlatinumLucario
Comment options

@badcel
Comment options

@fsobolev
Comment options

@PlatinumLucario
Comment options

@badcel
Comment options

Answer selected by PlatinumLucario
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants