Constructor
GtkStatusIconnew_from_icon_name
deprecated: 3.14 since: 2.10
Declaration [src]
GtkStatusIcon*
gtk_status_icon_new_from_icon_name (
const gchar* icon_name
)
Description [src]
Creates a status icon displaying an icon from the current icon theme. If the current icon theme is changed, the icon will be updated appropriately.
Available since: 2.10
Deprecated since: 3.14
Use GNotification
and GtkApplication
to
provide status notifications.
Parameters
icon_name
-
Type:
const gchar*
An icon name.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: GtkStatusIcon
A new GtkStatusIcon
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |