Dialog


Description:

[ CCode ( cname = "gimp_dialog_new" , has_construct_function = false , type = "GtkWidget*" ) ]
public Dialog (string title, string role, Widget? parent, DialogFlags flags, HelpFunc help_func, string help_id, ...)

Creates a new GimpDialog widget.

This function simply packs the action_area arguments passed in "..." into a va_list variable and passes everything to gimp_dialog_new_valist.

For a description of the format of the va_list describing the action_area buttons see Dialog.with_buttons.

Parameters:

title

The dialog's title which will be set with set_title.

role

The dialog's role which will be set with set_role.

parent

The parent widget of this dialog.

flags

The flags (see the Dialog documentation).

help_func

The function which will be called if the user presses "F1".

help_id

The help_id which will be passed to help_func.

...

A null-terminated va_list destribing the action_area buttons.

Returns:

A Dialog.