Constructor

HeDialognew

Declaration

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

Description [src]

Creates a new dialog.

Since: 1.0.

Parameters

modal

Type: gboolean

Whether the dialog is modal. .

parent

Type: GtkWindow

The parent window of the dialog. .

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

Type: const gchar*

The title of the dialog. .

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
subtitle

Type: const gchar*

The subtitle of the dialog. .

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