Dialog


Description:

public Dialog (Window parent, string? title = null, string? info = null, string? icon = null, Button? primary_button = null, Button? secondary_button = null)

Creates a new dialog.

Parameters:

parent

The parent window of the dialog. The window must contain a Gtk.Overlay somewhere in its widget hierarchy for modal overlay behavior to work correctly.

title

The title of the dialog.

info

The info text of the dialog.

icon

The icon of the dialog.

primary_button

The primary button of the dialog.

secondary_button

The secondary button of the dialog.

Since:

1.0