Method

GtkEntryget_text_length

since: 2.14

Declaration [src]

guint16
gtk_entry_get_text_length (
  GtkEntry* entry
)

Description [src]

Retrieves the current length of the text in entry.

This is equivalent to getting entrys GtkEntryBuffer and calling gtk_entry_buffer_get_length() on it.

Available since: 2.14

Gets propertyGtk.Entry:text-length

Return value

Type: guint16

The current number of characters in GtkEntry, or 0 if there are none.