Open marmistrz opened 4 years ago
The docs are autogenerated from the C documentation, which unfortunately contains C examples. I don't think we can solve that in any nice way currently, @GuillaumeGomez ?
See https://github.com/gtk-rs/examples/ for some examples, some of which also use a dialog.
No, it's a discussion I had with people in GNOME and the outcome is: it's complicated.
I have heard that gtk is switching it's doc to markdown, maybe if they specify the language there we could have a separate rust docs with just the code snippets somehow?
https://gtk-rs.org/docs/gtk/struct.Dialog.html currently contains a C example. The same holds for http://gtk-rs.org/docs/gtk/struct.MessageDialog.html