since: 2.16

Declaration [src]

const gchar*
gtk_entry_get_icon_name (
  GtkEntry* entry,
  GtkEntryIconPosition icon_pos

Description [src]

Retrieves the icon name used for the icon, or NULL if there is no icon or if the icon was set by some other method (e.g., by pixbuf, stock or gicon).

Available since: 2.16



Type: GtkEntryIconPosition

Icon position.

Return value

Type: const gchar*

An icon name, or NULL if no icon is set or if the icon wasn’t set from an icon name.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.