Gtk.Entry.prototype.get_icon_pixbuf

function get_icon_pixbuf(icon_pos:Gtk.EntryIconPosition):GdkPixbuf.Pixbuf {
    // Gjs wrapper for gtk_entry_get_icon_pixbuf()
}

Retrieves the image used for the icon.

Unlike the other methods of setting and getting icon data, this method will work regardless of whether the icon was set using a GdkPixbuf.Pixbuf, a Gio.Icon, a stock item, or an icon name.

Since 2.16

icon_pos

Icon position

Returns

A GdkPixbuf.Pixbuf, or null if no icon is set for this position.