BasicForm.in_dialog


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
[ Version ( since = "4.2" ) ]
public BasicForm.in_dialog (Set data_set, Window? parent, string? title, string? header)

Creates a new BasicForm widget in the same way as BasicForm 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 BasicForm widget is attached to the dialog using the user property "form".

Parameters:

data_set

a Set 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

Returns:

the new Dialog widget