Gtk4.jl icon indicating copy to clipboard operation
Gtk4.jl copied to clipboard

Document dialogs

Open tknopp opened this issue 2 years ago • 1 comments

The dialogs are currently not documented. This is just a reminder for us to do so. We need to document the synchronous and asynchronous variants and give clear examples like the one in https://github.com/JuliaGtk/Gtk4.jl/pull/13 how to call dialogs from callbacks.

In addition to the high-level methods we should also showcase how to write a custom dialog with GtkDialog.

tknopp avatar Dec 28 '22 08:12 tknopp

I have part of this done locally (along with other unfinished docs). I'll update it and commit.

jwahlstrand avatar Dec 28 '22 13:12 jwahlstrand

I just added a bit more to the documentation on dialogs. Regarding GtkDialog, it was deprecated in GTK 4.10 (see https://blog.gtk.org/2022/10/30/on-deprecations/) in favor of just creating a GtkWindow (as is done in input_dialog now). I added an example of that.

I'm going to close this but as always feel free to reopen.

jwahlstrand avatar Sep 28 '24 16:09 jwahlstrand