Constructor

HeDialognew

Declaration

HeDialog*
he_dialog_new (
  GtkWindow* parent,
  const gchar* title,
  const gchar* info,
  const gchar* icon,
  HeButton* primary_button,
  HeButton* secondary_button
)

Description [src]

Creates a new dialog.

Since: 1.0.

Parameters

parent

Type: GtkWindow

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. .

The data is owned by the caller of the function.
title

Type: const gchar*

The title of the dialog. .

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
info

Type: const gchar*

The info text of the dialog. .

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
icon

Type: const gchar*

The icon of the dialog. .

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
primary_button

Type: HeButton

The primary button of the dialog. .

The argument can be NULL.
The data is owned by the caller of the function.
secondary_button

Type: HeButton

The secondary button of the dialog. .

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: HeDialog

No description available.

The data is owned by the called function.