Method

Gtk.Entry.get_icon_paintable

Declaration [src]

GdkPaintable*
gtk_entry_get_icon_paintable (
  GtkEntry* entry,
  GtkEntryIconPosition icon_pos
)

Description [src]

Retrieves the GdkPaintable used for the icon.

If no GdkPaintable was used for the icon, NULL is returned.

Parameters

icon_pos GtkEntryIconPosition
 

Icon position

Return value

Returns: GdkPaintable*

A GdkPaintable, or NULL if no icon is set for this position or the icon set is not a GdkPaintable.

Ownership is not transferred to the caller
Can be NULL