Gtk.Entry.prototype.get_text_area

function get_text_area():void {
    // Gjs wrapper for gtk_entry_get_text_area()
}

Gets the area where the entry's text is drawn. This function is useful when drawing something to the entry in a draw callback.

If the entry is not realized, text_area is filled with zeros.

See also Gtk.Entry.prototype.get_icon_area.

Since 3.0