Constructor

PidginDisplayItemnew

Declaration [src]

PidginDisplayItem*
pidgin_display_item_new (
  GtkWidget* child,
  const char* id
)

Description [src]

Creates a new PidginDisplayItem instance.

Parameters

child

Type: GtkWidget

The GtkWidget that this item represents.

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

Type: const char*

A unique identifier that will be used internally.

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

Return value

Type: PidginDisplayItem

The new PidginDisplayItem instance.

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