Constructor

PurpleWhiteboardnew

unstable since: 3.0

Declaration [src]

PurpleWhiteboard*
purple_whiteboard_new (
  PurpleAccount* account,
  const gchar* id,
  gint state
)

Description [src]

Creates a new whiteboard.

Available since: 3.0

Parameters

account

Type: PurpleAccount

A PurpleAccount instance.

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

Type: const gchar*

The identifier of the whiteboard.

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

Type: gint

The state.

Return value

Type: PurpleWhiteboard

The new PurpleWhiteboard instance.

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