deprecated: 3.10 since: 2.16

Declaration [src]

const gchar*
gtk_entry_get_icon_stock (
  GtkEntry* entry,
  GtkEntryIconPosition icon_pos

Description [src]

Retrieves the stock id 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, icon name or gicon).

Available since: 2.16

Deprecated since: 3.10

Use gtk_entry_get_icon_name() instead.



Type: GtkEntryIconPosition

Icon position.

Return value

Type: const gchar*

A stock id, or NULL if no icon is set or if the icon wasn’t set from a stock id.

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