Constructor

PidginDialognew

Declaration [src]

GtkWidget*
pidgin_dialog_new (
  const gchar* title,
  guint border_width,
  const gchar* role,
  gboolean resizable
)

Description [src]

Creates a new PidginDialog instance.

Available since:3.0.0

Parameters

title

Type: const gchar*

The dialog title, or NULL.

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

Type: guint

The dialog’s desired border width.

role

Type: const gchar*

A string indicating what the dialog is responsible for doing, or NULL.

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

Type: gboolean

Whether the dialog should be resizable.

Return value

Type: GtkWidget

The new PidginDialog instance.

The caller of the function takes ownership of the data, and is responsible for freeing it.