[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
[ Version ( since = "4.2" ) ]
public ServerOperation.in_dialog (ServerOperation op, Window? parent, string? title, string? header)
Creates a new ServerOperation widget in the same way as ServerOperation and puts it into a Dialog widget.
The returned dialog has the "Ok" and "Cancel" buttons which respectively return GTK_RESPONSE_ACCEPT and GTK_RESPONSE_REJECT.
The ServerOperation widget is attached to the dialog using the user property "form".
op |
a ServerOperation object |
parent |
the parent window for the new dialog, or null |
title |
the title of the dialog window, or null |
header |
a helper text displayed at the top of the dialog, or null |
the new Dialog widget |