The dialog for composing an item: a wrapping, scrollable text view in the shell g_paste_gtk_util_form_dialog () puts up.
Both adding a new item and editing an existing one put up the same one.
| parent |
the parent window, one g_paste_gtk_util_can_host_dialog () accepts |
| heading |
what the dialog is for |
| confirm_label |
the label of the confirm button |
| text |
what the text view starts with |
| callback |
handed what the user wrote, never empty, or null if they cancelled -- called exactly once, a dialog whose window is destroyed under it and a call that is refused both answering null |