Constructor

PidginPresenceIconnew

Declaration [src]

GtkWidget*
pidgin_presence_icon_new (
  PurplePresence* presence,
  const gchar* fallback,
  GtkIconSize icon_size
)

Description [src]

Creates a new PidginPresenceIcon.

Available since:3.0.0

Parameters

presence PurplePresence
 

The PurplePresence to represent.

 The argument can be NULL.
 The data is owned by the caller of the function.
fallback const gchar*
 

The name of the icon to use as a fallback.

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

The GtkIconSize used to render the icon.

Return value

Returns: GtkWidget
 

The new presence icon.

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