Method

GtkEntryget_text_area

since: 3.0

Declaration [src]

void
gtk_entry_get_text_area (
  GtkEntry* entry,
  GdkRectangle* text_area
)

Description [src]

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_get_icon_area().

Available since: 3.0

Parameters

text_area

Type: GdkRectangle

Return location for the text area.

The argument will be set by the function.
The returned data is owned by the instance.