Constructor
GtkStatusIconnew_from_pixbuf
deprecated: 3.14 since: 2.10
Declaration [src]
GtkStatusIcon*
gtk_status_icon_new_from_pixbuf (
GdkPixbuf* pixbuf
)
Description [src]
Creates a status icon displaying pixbuf
.
The image will be scaled down to fit in the available space in the notification area, if necessary.
Available since: 2.10
Deprecated since: 3.14
Use GNotification
and GtkApplication
to
provide status notifications.
Parameters
pixbuf
-
Type:
GdkPixbuf
A
GdkPixbuf
.The data is owned by the caller of the function.
Return value
Type: GtkStatusIcon
A new GtkStatusIcon
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |