Constructs a new Granite.MessageDialog with an icon name as it's icon displayed in the image. This constructor is same as the main one but with a difference that you can pass an icon name string instead of manually creating the GLib.Icon.
The Granite.MessageDialog.image_icon will store the created icon so you can retrieve it later with GLib.Icon.to_string.
See Gtk.Dialog for more details.
primary_text |
the title of the dialog |
secondary_text |
the body of the dialog |
image_icon_name |
the icon name to create the dialog image with |
buttons |
the Gtk.ButtonsType value that decides what buttons to use, defaults to Gtk.ButtonsType.CLOSE, see Granite.MessageDialog.buttons on details and what values are accepted |