Method

GtkStatusIconset_from_file

deprecated: 3.14 since: 2.10

Declaration [src]

void
gtk_status_icon_set_from_file (
  GtkStatusIcon* status_icon,
  const gchar* filename
)

Description [src]

Makes status_icon display the file filename. See gtk_status_icon_new_from_file() for details.

Available since: 2.10

Deprecated since: 3.14

Use GNotification and GtkApplication to provide status notifications; you can use g_notification_set_icon() to associate a GIcon with a notification.

Parameters

filename

Type: const gchar*

A filename.

The data is owned by the caller of the method.
The value is a file system path, using the OS encoding.