Gtk.Entry.prototype.get_icon_area
function get_icon_area(icon_pos:Gtk.EntryIconPosition):void {
// Gjs wrapper for gtk_entry_get_icon_area()
}Gets the area where entry's icon at icon_pos is drawn. This function is useful when drawing something to the entry in a draw callback.
If the entry is not realized or has no icon at the given position, icon_area is filled with zeros.
See also Gtk.get_text_area
Since 3.0
- icon_pos
Icon position