Method

GtkEntryget_icon_gicon

since: 2.16

Declaration [src]

GIcon*
gtk_entry_get_icon_gicon (
  GtkEntry* entry,
  GtkEntryIconPosition icon_pos
)

Description [src]

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

Available since: 2.16

Parameters

icon_pos

Type: GtkEntryIconPosition

Icon position.

Return value

Type: GIcon

A GIcon, or NULL if no icon is set or if the icon is not a GIcon.

The returned data is owned by the instance.
The return value can be NULL.